UNPKG

@lobehub/ui

Version:

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

21 lines (20 loc) 1.24 kB
import type { ReactNode, RefAttributes } from 'react'; import DraggablePanelBody from './components/DraggablePanelBody'; import DraggablePanelContainer from './components/DraggablePanelContainer'; import DraggablePanelFooter from './components/DraggablePanelFooter'; import DraggablePanelHeader from './components/DraggablePanelHeader'; import type { DraggablePanelProps } from './type'; interface IDraggablePanel { (props: DraggablePanelProps & RefAttributes<HTMLDivElement>): ReactNode; Body: typeof DraggablePanelBody; Container: typeof DraggablePanelContainer; Footer: typeof DraggablePanelFooter; Header: typeof DraggablePanelHeader; } declare const DraggablePanel: IDraggablePanel; export default DraggablePanel; export { default as DraggablePanelBody, type DraggablePanelBodyProps, } from './components/DraggablePanelBody'; export { default as DraggablePanelContainer, type DraggablePanelContainerProps, } from './components/DraggablePanelContainer'; export { default as DraggablePanelFooter, type DraggablePanelFooterProps, } from './components/DraggablePanelFooter'; export { default as DraggablePanelHeader, type DraggablePanelHeaderProps, } from './components/DraggablePanelHeader'; export type * from './type';