//
Input that masks sensitive values and provides easy copying.
bun add xiod-ui1import { InputSensitive } from "xiod-ui/input-sensitive";1<InputSensitive>2</InputSensitive>| Prop | Type | Default | Description |
|---|---|---|---|
defaultValue | string| number| readonly string[]| undefined | - | The default value of the input. Use when uncontrolled. |
render | ReactElement<unknown, string| JSXElementConstructor<any>>| ComponentRenderFn<HTMLProps, InputState>| undefined | - | Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a `ReactElement` or a function that returns the element to render. |
value | string| number| readonly string[]| undefined | - | The value of the input. Use when controlled. |
onValueChange | ((value: string, eventDetails: { reason: "none"; event: Event; cancel: () => void; allowPropagation: () => void; isCanceled: boolean; isPropagationAllowed: boolean; trigger: Element| undefined; }) => void)| undefined | - | Callback fired when the `value` changes. Use when controlled. |
size | number| "default"| "sm"| "lg"| undefined | default | |
className | string| undefined | - | |
style | CSSProperties| undefined | - |