@yuntijs/ui
Version:
☁️ Yunti UI - an open-source UI component library for building Cloud Native web apps
14 lines (13 loc) • 504 B
TypeScript
import { type DrawerProps as AntdDrawerProps } from 'antd';
import React from 'react';
interface CustomDrawerProps {
/**
* @description The placement of the close icon. When the value is auto and extra if present, the close button is left, and right if not.
* @default 'right'
*/
closeIconPlacement?: 'left' | 'right' | 'auto';
}
export interface DrawerProps extends AntdDrawerProps, CustomDrawerProps {
}
export declare const Drawer: React.FC<DrawerProps>;
export default Drawer;