Skip to content

Instantly share code, notes, and snippets.

@ulisesantana
Last active January 25, 2019 08:53
Show Gist options
  • Save ulisesantana/bb02ba976f068e597aa001bc6a6d801b to your computer and use it in GitHub Desktop.
Save ulisesantana/bb02ba976f068e597aa001bc6a6d801b to your computer and use it in GitHub Desktop.
React Styleguidist Config for Create React App(^2.1.3) with TypeScript
module.exports = {
components: 'src/components/**/[A-Z]*.{ts,tsx}',
propsParser: require('react-docgen-typescript').parse,
webpackConfig: require('react-scripts/config/webpack.config.js')
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment