UNPKG

baseui

Version:

A React Component library implementing the Base design language

33 lines (32 loc) 911 B
import React from 'react'; import MultiRef from 'react-multi-ref'; import type { State, PinCodeProps } from './types'; export default class PinCode extends React.Component<PinCodeProps, State> { static defaultProps: { 'aria-label': string; 'aria-labelledby': any; 'aria-describedby': any; autoComplete: string; autoFocus: boolean; disabled: boolean; error: boolean; id: any; name: any; onChange: () => void; overrides: {}; placeholder: string; positive: boolean; required: boolean; size: "default"; manageFocus: boolean; values: string[]; mask: boolean; }; _inputRefs: MultiRef<number, HTMLInputElement>; state: { hasFocus: boolean; }; componentDidMount(): void; getMaskStyle(i: number): string; render(): React.JSX.Element; }