UNPKG

@ssplib/react-components

Version:
15 lines (14 loc) 414 B
import React from 'react'; export default function MaskInput(props: { formConfig: object; defaultValue?: string; maskProps: { mask: string | RegExp; definitions?: { [key: string]: string | RegExp; }; }; disabled?: boolean; watchValue?: string; onMask?: (value: string, setMask: React.Dispatch<React.SetStateAction<string>>) => void; }): JSX.Element;