The Password component wrapper.
This is a compound component.
This component extends the native <div>arrow-up-right API. That's why the className prop is not included in the table.
<div>
className
children
ReactNode
β
isDisabled
boolean
β
hasError
The children in this case, because it is a compound component, should be the ones provided by this design system, listed before.
The hasError prop sets the component state to an error state, changing its colors by the ones defined in the tokens.
Disabled the component by changing its state.
Last updated 2 years ago