@nutui/nutui-react
Version:
京东风格的轻量级移动端 React 组件库,支持一套代码生成 H5 和小程序
16 lines (15 loc) • 629 B
TypeScript
import { default as React, FunctionComponent, ReactNode } from 'react';
import { PopupProps } from '../popup/popup.taro';
export interface NumberKeyboardProps extends PopupProps {
visible: boolean;
rightActions: ReactNode;
confirmText?: string;
type: 'default' | 'rightColumn';
custom: Array<string>;
random: boolean;
onChange?: (value: string) => void;
onDelete?: () => void;
onClose: () => void;
onConfirm?: () => void;
}
export declare const NumberKeyboard: FunctionComponent<Partial<NumberKeyboardProps> & Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange' | 'onClick' | 'title'>>;