dumi
Version:
📖 Documentation Generator of React Component
18 lines (17 loc) • 536 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;
export default _default;
/**
* plugin for add conventional tab and plugin tab into page content
*/
declare function _default(api: IApi): void;