UNPKG

@papernote/ui

Version:

A modern React component library with a paper notebook aesthetic - minimal, professional, and expressive

22 lines 692 B
import React from 'react'; export type MaskType = 'phone' | 'credit-card' | 'date' | 'ssn' | 'zip' | 'custom'; export interface MaskedInputHandle { focus: () => void; blur: () => void; } export interface MaskedInputProps { value: string; onChange: (value: string) => void; maskType?: MaskType; customMask?: string; label?: string; placeholder?: string; required?: boolean; disabled?: boolean; error?: string; helperText?: string; className?: string; } declare const MaskedInput: React.ForwardRefExoticComponent<MaskedInputProps & React.RefAttributes<MaskedInputHandle>>; export default MaskedInput; //# sourceMappingURL=MaskedInput.d.ts.map