JSPM

  • Created
  • Published
  • Downloads 7513172
  • Score
    100M100P100Q271534F
  • License MIT

Package Exports

  • react-docgen-typescript
  • react-docgen-typescript/lib
  • react-docgen-typescript/lib/parser
  • react-docgen-typescript/lib/parser.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-docgen-typescript) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

react-docgen-typescript

Simple parser for react properties defined in typescript instead of propTypes.

It can be used with react-styleguidist.

react-styleguidist integration

Include following line in your styleguide.config.js:

propsParser: require('react-docgen-typescript').parse

Thanks

The integration with reac-styleguidist wouldn't be possible without Vyacheslav Slinko pull request #118 react-styleguidist.