UNPKG

@lobehub/ui

Version:

Lobe UI is an open-source UI component library for building AIGC web apps

21 lines (20 loc) 687 B
import { type DrawerProps as AntdDrawerProps } from 'antd'; import { CSSProperties, ReactNode } from 'react'; export interface DrawerProps extends Omit<AntdDrawerProps, 'styles' | 'classNames'> { classNames?: AntdDrawerProps['classNames'] & { bodyContent?: string; extra?: string; title?: string; }; containerMaxWidth?: number; noHeader?: boolean; sidebar?: ReactNode; sidebarWidth?: number; styles?: AntdDrawerProps['styles'] & { bodyContent?: CSSProperties; extra?: CSSProperties; title?: CSSProperties; }; } declare const Drawer: import("react").NamedExoticComponent<DrawerProps>; export default Drawer;