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