dumi
Version:
📖 Documentation Generator of React Component
18 lines (17 loc) • 537 B
TypeScript
import type { IApi } from "../types";
export interface IContentTab {
key: string;
id?: string;
test?: RegExp;
title?: string;
titleIntlId?: string;
component: string;
}
export declare function isTabRouteFile(file: string): boolean;
export declare function getTabKeyFromFile(file: string): string;
export declare function getHostForTabRouteFile(file: string): string;
/**
* plugin for add conventional tab and plugin tab into page content
*/
declare const _default: (api: IApi) => void;
export default _default;