mirror of
https://github.com/pawelmalak/flame.git
synced 2026-03-08 13:33:11 +08:00
Updating categories using form
This commit is contained in:
11
client/src/components/UI/Buttons/Button/Button.tsx
Normal file
11
client/src/components/UI/Buttons/Button/Button.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user