Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "ui/form/InputWithMask"

Index

Type aliases

Variables

Type aliases

InputWithMaskProps

InputWithMaskProps: Omit<ReactInputMaskProps, "size" | "prefix"> & InputProps

Variables

Const InputWithMask

InputWithMask: ForwardRefExoticComponent<object & InputProps & RefAttributes<Input>> = forwardRef((props: InputWithMaskProps, ref: Ref<Input>) => {const {size, prefix, value, ...rest} = props;// ReactInputMask will not pass `value` to the Input if it's value is nullconst passedValue = value ? value : '';return (<ReactInputMask value={passedValue} {...rest}>{(inputProps: InputProps) => {return <Input ref={ref} {...inputProps} prefix={prefix} size={size}/>;}}</ReactInputMask>);})

Generated using TypeDoc