InputWrappercomponent

InputWrapper({ children, className }: InputWrapperProps): ReactElement
ParamType
propsInputWrapperProps
Props for InputWrapper — the wrapped children plus an optional className. required
Return
ReactElement

Wraps an input with support for absolutely-positioned data-slot icon elements on either side.

  • This is so you can put an icon before or after an input.