@alifd/meet-react
Version:
Fusion Mobile React UI System Component
22 lines (21 loc) • 575 B
TypeScript
import { ReactNode } from 'react';
import { BaseComponentAttributes, BasicSizeType } from '../utils/types';
export interface BottomButtonProps extends BaseComponentAttributes {
size?: BasicSizeType;
actions?: Array<'ok' | 'cancel'>;
showDividingLine?: boolean;
enableSafeArea?: boolean;
okText?: string;
cancelText?: string;
okProps?: {
text?: string;
[x: string]: any;
};
cancelProps?: {
text?: string;
[x: string]: any;
};
onOk?: () => void;
onCancel?: () => void;
children?: ReactNode;
}