@chief-editor/ui
Version:
UI Component for chief editor
13 lines (12 loc) • 460 B
TypeScript
import { HTMLAttributes, ReactNode } from 'react';
import { UnionOmit } from '@co-hooks/util';
export interface ISidebarContent {
title?: ReactNode;
extraTitle?: ReactNode;
closeable?: boolean;
id: string;
onClose?: () => void;
children: ReactNode;
}
export declare type ISidebarContentProps = UnionOmit<ISidebarContent, HTMLAttributes<HTMLDivElement>>;
export declare function SidebarContent(props: ISidebarContentProps): JSX.Element;