InputAdornment
An utility component that tries to provide extra trailing or leading adornments (i.e. a prefix, a suffix, an action, or an icon) for inputs.
API
Learn more about the properties and the customization points.
Usage
import InputAdornment from "@sonnat/ui/InputAdornment";//orimport { InputAdornment } from "@sonnat/ui";
Properties
Note that the documentation avoids mentioning all the native props (there are a lot) in this section of the components.
| Name | Type | Default | Description |
|---|---|---|---|
| children | string | - | The content of the component. |
| className | string | - | Append to the class names applied to the component so you can override or extend the styles. |
| variant | "node" | "icon" | "text" | "node" | The variant of the component. |
| |||