1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-23 15:07:43 +01:00
smov/src/components/Buttons/ButtonControl.tsx

9 lines
227 B
TypeScript
Raw Normal View History

2022-02-07 23:22:35 +01:00
export interface ButtonControlProps {
onClick?: () => void;
children?: React.ReactNode;
}
export function ButtonControl({ onClick, children }: ButtonControlProps) {
return <button onClick={onClick}>{children}</button>
}