import { useState } from 'react' interface MyButtonProps { type?: 'primary' } export const MyButton: React.FC = ({ type }) => { const [count, setCount] = useState(0) return ( ) }