UNPKG

tdesign-react

Version:
12 lines (11 loc) 451 B
import React from 'react'; import type { TdDrawerProps, DrawerEventSource, DrawerInstance } from './type'; import { StyledProps } from '../common'; export declare const CloseTriggerType: { [key: string]: DrawerEventSource; }; export interface DrawerProps extends TdDrawerProps, StyledProps { isPlugin?: boolean; } declare const Drawer: React.ForwardRefExoticComponent<DrawerProps & React.RefAttributes<DrawerInstance>>; export default Drawer;