UNPKG

@alitajs/antd-plus

Version:

基于 ant-design 封装的偏业务组件

23 lines (22 loc) 561 B
import React from 'react'; import { ButtonProps } from 'antd/es/button'; export interface SendCodeProps extends ButtonProps { start?: boolean; second?: number; initText?: string; runText?: string; resetText?: string; storageKey?: string; onEnd?: () => void; } export interface SendCodeLocale { initText: string; runText: string; resetText: string; } /** * 状态 0: 初始 1: 运行 2: 结束 */ export declare type SendCodeStatus = 0 | 1 | 2; declare const SendCode: React.FC<SendCodeProps>; export default SendCode;