mirror of
https://github.com/pawelmalak/flame.git
synced 2026-02-28 09:23:12 +08:00
11 lines
246 B
TypeScript
11 lines
246 B
TypeScript
import classes from './Button.module.css';
|
|
|
|
interface ComponentProps {
|
|
children: string;
|
|
}
|
|
|
|
const Button = (props: ComponentProps): JSX.Element => {
|
|
return <button className={classes.Button}>{props.children}</button>
|
|
}
|
|
|
|
export default Button; |