mirror of
https://github.com/lumehq/lume.git
synced 2025-10-10 23:42:33 +02:00
19 lines
421 B
TypeScript
19 lines
421 B
TypeScript
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>
|
|
);
|
|
}
|