movie-web/src/components/Buttons/ButtonControl.tsx
Jelle van Snik 8db4fbee07 styling
2022-02-10 23:45:17 +01:00

10 lines
282 B
TypeScript

export interface ButtonControlProps {
onClick?: () => void;
children?: React.ReactNode;
className?: string;
}
export function ButtonControl({ onClick, children, className }: ButtonControlProps) {
return <button onClick={onClick} className={className}>{children}</button>
}