mirror of
https://github.com/tjsga/tj-sga-website-react.git
synced 2025-04-21 12:00:17 -04:00
16 lines
265 B
TypeScript
16 lines
265 B
TypeScript
import { MouseEventHandler } from 'react';
|
|
|
|
export default function BlueButton({
|
|
onClick,
|
|
children,
|
|
}: {
|
|
onClick?: MouseEventHandler;
|
|
children: React.ReactNode;
|
|
}) {
|
|
return (
|
|
<button onClick={onClick} className='blue-button'>
|
|
{children}
|
|
</button>
|
|
);
|
|
}
|