diff options
author | Joseph Ditton <jditton.atomic@gmail.com> | 2021-11-23 14:04:12 -0700 |
---|---|---|
committer | Joseph Ditton <jditton.atomic@gmail.com> | 2021-11-23 14:04:12 -0700 |
commit | 8d0b32f8dfe45291426e58f6bf20cffac8dab6e7 (patch) | |
tree | ec4c1e08e8698d7118641612b67bce940019b3dc /client/components/common/button.jsx | |
parent | 4ae4e874689a71e33cdd7a5799fc0c85c4861367 (diff) | |
download | locchat-8d0b32f8dfe45291426e58f6bf20cffac8dab6e7.tar.gz locchat-8d0b32f8dfe45291426e58f6bf20cffac8dab6e7.zip |
adds api, guard, tailwind
Diffstat (limited to 'client/components/common/button.jsx')
-rw-r--r-- | client/components/common/button.jsx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/client/components/common/button.jsx b/client/components/common/button.jsx new file mode 100644 index 0000000..1e8719a --- /dev/null +++ b/client/components/common/button.jsx @@ -0,0 +1,7 @@ +export const Button = ({ children, ...other }) => { + return ( + <button className="bg-gray-600 pt-2 pb-2 pr-4 pl-4 rounded-lg font-bold text-white" {...other}> + {children} + </button> + ); +}; |