diff --git a/src/Input.tsx b/src/Input.tsx index 72b3628c7..572988437 100644 --- a/src/Input.tsx +++ b/src/Input.tsx @@ -11,6 +11,7 @@ export type InputProps = { className?: string; label: ReactNode; hintText?: ReactNode; + hideLabel?: boolean; /** default: false */ disabled?: boolean; iconId?: FrIconClassName | RiIconClassName; @@ -58,6 +59,7 @@ export const Input = memo( className, label, hintText, + hideLabel, disabled = false, iconId: iconId_props, classes = {}, @@ -88,7 +90,7 @@ export const Input = memo(
{ switch (state) { @@ -109,9 +111,8 @@ export const Input = memo( {...rest} >