@logo-rn/logo-mask-edit
v0.2.4
Published
<LogoMaskEdit/> allows user to enter and edit text with the given mask.
Downloads
6
Readme
@logo-rn/logo-mask-edit
allows user to enter and edit text with the given mask.
Installation
Install the component:
npm i @logo-rn/logo-mask-edit -s
Usage
Once installed, import the component in your application:
import {LogoMaskEdit} from '@logo-rn/logo-mask-edit';
const [value, setvalue] = useState("");
//...
<LogoMaskEdit
id="MASK_EDIT"
text={value}
onChangeText={setValue}
maskOptions={{ editTemplates: "IPv6Address" }}
/>