UNPKG

@open-tender/store

Version:

A library of hooks, reducers, utility functions, and types for use with Open Tender applications that utilize our in-store POS API

15 lines (14 loc) 478 B
import { Handlers, KeypadProps, KeypadType } from '@open-tender/ui'; import { ReactNode } from 'react'; declare const Keypad: ({ children, maxLength, type, value, handlers, isEmail, autoCapitalize }: { children: (props: KeypadProps & { autoCapitalize?: boolean; }) => ReactNode; maxLength?: number; type?: KeypadType; value: string; handlers: Handlers; isEmail?: boolean; autoCapitalize?: boolean; }) => ReactNode; export default Keypad;