From 34b28ea200fbf85a66f76561f26d99e2b7965fe7 Mon Sep 17 00:00:00 2001 From: yun-cheng Date: Sun, 28 Apr 2024 20:32:38 +0800 Subject: [PATCH] feat(UI): add Button component --- src/components/ui/Button.tsx | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/components/ui/Button.tsx diff --git a/src/components/ui/Button.tsx b/src/components/ui/Button.tsx new file mode 100644 index 0000000..af94177 --- /dev/null +++ b/src/components/ui/Button.tsx @@ -0,0 +1,22 @@ +import React from 'react' +import cn from 'utils/cn' + +const Button = React.forwardRef< + HTMLButtonElement, + React.HTMLAttributes +>(({ className, children, ...props }, ref) => ( + +)) + +export default Button