UNPKG

fictoan-react

Version:

A full-featured, designer-friendly, yet performant framework with plain-English props and focus on rapid iteration.

22 lines (21 loc) 947 B
import React from "react"; import { CommonAndHTMLProps } from '../../Element/constants'; type PinInputFieldCustomProps = { numberOfFields: number; onChange?: (value: string) => void; type?: "alphanumeric" | "number"; mask?: boolean; isOTP?: boolean; autoFocus?: boolean; pasteFromClipboard?: "enabled" | "disabled"; focusFirstInputOnReset?: boolean; isFullWidth?: boolean; ariaLabel?: string; }; export type PinInputFieldElementType = HTMLDivElement & { reset: () => void; }; export type PinInputFieldProps = Omit<CommonAndHTMLProps<PinInputFieldElementType>, keyof PinInputFieldCustomProps> & PinInputFieldCustomProps; export declare const PinInputField: React.ForwardRefExoticComponent<Omit<CommonAndHTMLProps<PinInputFieldElementType>, keyof PinInputFieldCustomProps> & PinInputFieldCustomProps & React.RefAttributes<PinInputFieldElementType>>; export {}; //# sourceMappingURL=PinInputField.d.ts.map