diff options
Diffstat (limited to 'src/web/components/button/Button.jsx')
| -rw-r--r-- | src/web/components/button/Button.jsx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/web/components/button/Button.jsx b/src/web/components/button/Button.jsx new file mode 100644 index 0000000..8d7de02 --- /dev/null +++ b/src/web/components/button/Button.jsx @@ -0,0 +1,10 @@ +import React from "react"; +import styles from "./Button.css"; + +export default function Button({className, children, ...others}) { + return ( + <button className={styles.button + (className != null ? " " + className : "")} {...others} > + {children} + </button> + ) +}
\ No newline at end of file |
