atlassian / extract-react-types

One stop shop for documenting your react components.
https://atlassian.github.io/extract-react-types/
MIT License
179 stars 28 forks source link

Prop table permalink #224

Closed klauspaiva closed 2 years ago

klauspaiva commented 2 years ago

Allows permalinks to be rendered as each prop displays.

Loom demo: https://www.loom.com/share/85edd8c9a0a2435dba5cff7989651ed0

The demo above was recorded before the correct colour was given by design, so this is a more accurate screenshot of what the final experience can look like:

Screen Shot 2022-05-12 at 1 45 04 pm

Of course, when LayoutRenderer is used it's entirely up to the developer to handle styles to whatever visual they want to achieve.

changeset-bot[bot] commented 2 years ago

🦋 Changeset detected

Latest commit: 6f7771e1efe434a3d05fd0626ef8de9beab944db

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages | Name | Type | | -------------------------------- | ----- | | babel-plugin-extract-react-types | Minor | | pretty-proptypes | Minor |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

danieldelcore commented 2 years ago

Thanks for taking the long way around @klauspaiva! This is a great addition !