1.1.0 • Published 6 years ago
props-table v1.1.0
props-tables
Uses react-docgen to pull out
docstrings for component props and operate on the results to:
- Generate a Markdown
propstable for one (or many) files - Replace a custom pattern with the generated
propstable for injection into static docs - Generate an "API" docs page with all the components and their
propsin individual tables - Extract all
propsand print the uniquepropsto 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.