UNPKG

vue-styleguidist

Version:
20 lines (19 loc) 692 B
import { Component } from '../../types/Component'; interface ComponentsAndFiles { exampleFileNames: string[]; components: Component[]; } export interface HrefOptions { hashPath?: string[]; useRouterLinks: boolean; useHashId?: boolean; } /** * Do things that are hard or impossible to do in a loader: we don’t have access to component name * and props in the styleguide-loader because we’re using `require` to load the component module. * * @param {Array} components * @return {Array} */ export default function processComponents({ exampleFileNames, components }: ComponentsAndFiles, { useRouterLinks, useHashId, hashPath }: HrefOptions): Component[]; export {};