You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
326 B
17 lines
326 B
export interface ButtonControlProps { |
|
onClick?: () => void; |
|
children?: React.ReactNode; |
|
className?: string; |
|
} |
|
|
|
export function ButtonControl({ |
|
onClick, |
|
children, |
|
className, |
|
}: ButtonControlProps) { |
|
return ( |
|
<button onClick={onClick} className={className} type="button"> |
|
{children} |
|
</button> |
|
); |
|
}
|
|
|