UNPKG

vue-styleguidist

Version:
13 lines (12 loc) 510 B
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[]; };