@talixo-ds/masked-input
v2.0.1
Published
```bash npm install @talixo-ds/masked-input ```
Downloads
253
Readme
@talixo-ds/masked-input
Installation
npm install @talixo-ds/masked-inputImporting
import { MaskedInput } from "@talixo-ds/masked-input";Usage example
<MaskedInput
mask={
value ? (
<Box
sx={{
padding: 3,
border: "1px solid black",
borderRadius: 2
}}
>
{value}
</Box>
) : undefined
}
>
<TextInput value={value} onChange={(e) => setValue(e.target.value)} />
</MaskedInput>