UNPKG

antd-mobile-taro-ui

Version:

以antd-mobile为设计标准,基于taro框架的微信小程序组件库

15 lines (14 loc) 419 B
import { FC, ReactNode } from 'react'; import { NativeProps } from 'antd-mobile/es/utils/native-props'; export declare type Action = { key: string | number; text: ReactNode; disabled?: boolean; danger?: boolean; bold?: boolean; onClick?: () => void | Promise<void>; } & NativeProps; export declare const DialogActionButton: FC<{ action: Action; onAction: () => void | Promise<void>; }>;