UNPKG

dumi

Version:

📖 Documentation Generator of React Component

21 lines (20 loc) • 621 B
import type { IApi } from '../types'; import type { AtomAsset, ExampleAsset } from 'dumi-assets-types'; declare const examples: ExampleAsset[]; /** * internal function to add example assets */ export declare function addExampleAssets(data: typeof examples): void; /** * internal function to get atom assets */ export declare function getExampleAssets(): ExampleAsset[]; /** * internal function to add meta for atom */ export declare function addAtomMeta(atomId: string, data: Partial<AtomAsset>): void; export default _default; /** * plugin for generate assets.json */ declare function _default(api: IApi): void;