@open-tender/ui
Version:
A component library for use with the Open Tender web app
14 lines (13 loc) • 426 B
TypeScript
import React from 'react';
import { Handlers, ScreenConfig } from '../types';
export type KeypadType = 'numeric' | 'default' | 'dollar';
export interface KeypadProps {
config: ScreenConfig;
type?: KeypadType;
handlers: Handlers;
value: string;
isEmail?: boolean;
isShiftOn?: boolean;
}
declare const Keypad: ({ handlers, value, config, type }: KeypadProps) => React.JSX.Element;
export default Keypad;