mirror of
https://github.com/movie-web/movie-web.git
synced 2024-11-15 20:55:11 +01:00
10 lines
282 B
TypeScript
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>
|
|
}
|