Wrapper

The Password component wrapper.

circle-info

This is a compound component.

API

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

Props
Type
Required

children

ReactNode

βœ…

isDisabled

boolean

❌

hasError

boolean

❌

chevron-rightchildrenhashtag

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

chevron-righthasErrorhashtag

The hasError prop sets the component state to an error state, changing its colors by the ones defined in the tokens.

chevron-rightisDisabledhashtag

Disabled the component by changing its state.

Last updated