dumi
Version:
📖 Documentation Generator of React Component
21 lines (20 loc) • 622 B
TypeScript
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;
/**
* plugin for generate assets.json
*/
declare const _default: (api: IApi) => void;
export default _default;