feat(ark): add note component to ark

This commit is contained in:
reya
2023-12-19 08:06:10 +07:00
parent 55298515af
commit ec2ac2dce3
19 changed files with 898 additions and 85 deletions
+18
View File
@@ -0,0 +1,18 @@
import { ReactNode } from 'react';
import { twMerge } from 'tailwind-merge';
export function NoteRoot({
children,
className,
}: {
children: ReactNode;
className?: string;
}) {
return (
<div className={twMerge('h-min w-full p-3', className)}>
<div className="relative flex flex-col gap-2 overflow-hidden rounded-xl bg-neutral-50 dark:bg-neutral-950">
{children}
</div>
</div>
);
}