• Parameters

    • props: {
          caret?: boolean;
          defaultValue?: string;
          error?: boolean;
          keyboard?: ReactElement<NumberKeyboardProps, string | JSXElementConstructor<any>>;
          length?: number;
          onBlur?: (() => void);
          onChange?: ((val) => void);
          onFill?: ((val) => void);
          onFocus?: (() => void);
          plain?: boolean;
          seperated?: boolean;
          value?: string;
      } & {
          className?: string;
          style?: CSSProperties & Partial<Record<"--border-radius" | "--border-color" | "--cell-size" | "--dot-size" | "--cell-gap", string>>;
          tabIndex?: number;
      } & AriaAttributes & RefAttributes<PasscodeInputRef>

    Returns ReactNode

Properties

$$typeof: symbol
defaultProps?: Partial<{
    caret?: boolean;
    defaultValue?: string;
    error?: boolean;
    keyboard?: ReactElement<NumberKeyboardProps, string | JSXElementConstructor<any>>;
    length?: number;
    onBlur?: (() => void);
    onChange?: ((val) => void);
    onFill?: ((val) => void);
    onFocus?: (() => void);
    plain?: boolean;
    seperated?: boolean;
    value?: string;
} & {
    className?: string;
    style?: CSSProperties & Partial<Record<"--border-radius" | "--border-color" | "--cell-size" | "--dot-size" | "--cell-gap", string>>;
    tabIndex?: number;
} & AriaAttributes & RefAttributes<PasscodeInputRef>>
displayName?: string

Used in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.

propTypes?: WeakValidationMap<{
    caret?: boolean;
    defaultValue?: string;
    error?: boolean;
    keyboard?: ReactElement<NumberKeyboardProps, string | JSXElementConstructor<any>>;
    length?: number;
    onBlur?: (() => void);
    onChange?: ((val) => void);
    onFill?: ((val) => void);
    onFocus?: (() => void);
    plain?: boolean;
    seperated?: boolean;
    value?: string;
} & {
    className?: string;
    style?: CSSProperties & Partial<Record<"--border-radius" | "--border-color" | "--cell-size" | "--dot-size" | "--cell-gap", string>>;
    tabIndex?: number;
} & AriaAttributes & RefAttributes<PasscodeInputRef>>

Generated using TypeDoc