Skip to content

Commit

Permalink
Merge pull request #100 from 8845musign/fix-props-table
Browse files Browse the repository at this point in the history
Show props that were not displayed
  • Loading branch information
takanorip authored Nov 27, 2024
2 parents cac2e68 + ce96d11 commit e1bb636
Show file tree
Hide file tree
Showing 40 changed files with 736 additions and 213 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,7 @@ Implement the most basic example.
```
npm run generate:page:example
```
### Component page props

The props are automatically extracted using `react-docgen`. However, complex props cannot be extracted.
In that case, they can be displayed by describing them in the mdx file frontmatter.prop. By using keywords such as `{TextColor}` and `{Spacing}`, you can omit the description of frequently used values (see src/utils/server/props/typeSetKeyword.ts for details).
195 changes: 148 additions & 47 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e1bb636

Please sign in to comment.