Wrapper

This is a compound component.

API

This component extends the native <div> API. That's why the className prop is not included in the table.

Props
Type
Required

children

ReactNode

labelPosition

'after' | 'before' | 'below' | 'above';

children

The children in this case, because it is a compound component, should be the ones provided by this design system.

labelPosition

This prop changes the position of the label.

Last updated