react-styleguidist
Version:
React components style guide generator
10 lines (9 loc) • 335 B
TypeScript
import * as Rsg from '../../typings';
/**
* 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: Rsg.SanitizedStyleguidistConfig): Rsg.LoaderComponent;