1.1.0 • Published 5 years ago

props-table v1.1.0

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

props-tables

npm

Uses react-docgen to pull out docstrings for component props and operate on the results to:

  • Generate a Markdown props table for one (or many) files
  • Replace a custom pattern with the generated props table for injection into static docs
  • Generate an "API" docs page with all the components and their props in individual tables
  • Extract all props and print the unique props to get an overview of the entire library API

Caveats

(╯._.)╯︵ ┻━┻

  • Need a better way to grab the component name for the "everything on one page" API docs.