Files
Vlad Morozov a3cdf46210 update demo
2025-04-22 19:38:59 +03:00

15 lines
302 B
TypeScript

interface FieldProps {
label: string;
children: React.ReactNode;
tooltip?: string;
}
export const Field = (props: FieldProps) => {
return (
<div className="flex flex-col gap-1">
<label className="text-zinc-400 text-sm">{props.label}</label>
{props.children}
</div>
);
};