vue-styleguidist
Version:
Vue components style guide generator
13 lines (12 loc) • 510 B
TypeScript
import * as Rsg from 'react-styleguidist';
import { SanitizedStyleguidistConfig } from '../../types/StyleGuide';
/**
* Return an object with all required for style guide information for a given component.
*
* @param {string} filepath
* @param {object} config
* @returns {object}
*/
export default function processComponent(filepath: string, config: SanitizedStyleguidistConfig, subComponentPaths?: string[], ignoreExample?: boolean): Rsg.LoaderComponent & {
subComponents?: Rsg.LoaderComponent[];
};