tntd
Version:
tntd是基于 TNT Design 设计体系的 React UI 组件库,主要用于研发企业级中后台产品。
30 lines • 948 B
TypeScript
import type { DrawerProps as AntdDrawerProps } from 'antd/lib/drawer';
import type { BaseButtonProps } from 'antd/lib/button/button';
import type { TntButtonType } from '../button/button';
import React, { FC } from 'react';
interface CustomDrawerProps extends AntdDrawerProps {
footer?: React.ReactNode;
showFooter?: boolean;
onClose?: () => void;
onSubmit?: () => void;
onCancel?: () => void;
afterClose?: () => void;
onOk?: () => void;
okText?: string;
cancelText?: string;
locale?: {
okText?: string;
cancelText?: string;
};
okType?: TntButtonType;
cancelType?: TntButtonType;
confirmLoading?: boolean;
okButtonProps?: BaseButtonProps;
cancelButtonProps?: BaseButtonProps;
clickOnBlankToClose: boolean;
upperCaseIgnore?: [];
unUpperConverted: boolean;
}
export declare const Drawer: FC<CustomDrawerProps>;
export {};
//# sourceMappingURL=drawer.d.ts.map