InputWrappercomponent
InputWrapper({ children }: ChildProps): ReactElement| Param | Type | |
|---|---|---|
props | ChildProps | Props for a component that requires children. required |
.children | ReactNode | 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.