diff --git a/src/components/custom-ui/labeled-input.tsx b/src/components/custom-ui/labeled-input.tsx index dc5cf13..4f06b5d 100644 --- a/src/components/custom-ui/labeled-input.tsx +++ b/src/components/custom-ui/labeled-input.tsx @@ -7,7 +7,7 @@ export default function LabeledInput({ placeholder, value, name, - big = false, // Add a prop for the bigger variant, default is false + size = 'default', autocomplete, error, ...rest @@ -17,14 +17,14 @@ export default function LabeledInput({ placeholder?: string; value?: string; name?: string; - big?: boolean; // Optional prop for bigger input + size?: 'default' | 'big' | 'textarea'; autocomplete?: string; error?: string; } & React.InputHTMLAttributes) { return (
- {big ? ( + {size === 'textarea' ? (