InputWrappercomponent

InputWrapper({ children }: ChildProps): ReactElement
ParamType
propsChildProps
Props for a component that requires children. required
    .childrenReactNode
required readonly
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.