feat: widget sdk

This commit is contained in:
Tristan Yang
2022-10-27 21:21:54 +08:00
parent 23320ab637
commit 1987c257ba
25 changed files with 456 additions and 96 deletions
+14
View File
@@ -0,0 +1,14 @@
import clsx from 'clsx';
type Props = {
thin?: boolean
};
const Index = ({ thin = false }: Props) => {
const h = thin ? 'h-[1px]' : 'h-0.5';
return (
<hr className={clsx('w-full bg-gray-300 border-none', h)} />
);
};
export default Index;