@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
22 lines (21 loc) • 525 B
text/typescript
import { AnchorProps } from "antd";
//#region src/Toc/type.d.ts
interface TocItemType {
children?: TocItemType[];
id: string;
title: string;
}
interface TocMobileProps {
activeKey?: string;
getContainer?: AnchorProps['getContainer'];
headerHeight?: number;
items: TocItemType[];
onChange?: (activeKey: string) => void;
tocWidth?: number;
}
interface TocProps extends TocMobileProps {
isMobile?: boolean;
}
//#endregion
export { TocItemType, TocMobileProps, TocProps };
//# sourceMappingURL=type.d.mts.map