import { cn } from "@lib/utils"; import { Input } from "@ui/components/input"; import { Label1Regular } from "@ui/text/label/label-1-regular"; interface LabeledInputProps extends React.ComponentProps<"div"> { label: string; inputType: string; inputPlaceholder: string; error?: string | null; inputProps?: React.ComponentProps; } export function LabeledInput({ label, inputType, inputPlaceholder, className, error, inputProps, ...props }: LabeledInputProps) { return (
{label} {error && (

{error}

)}
); }