Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to automatically render other props? #2065

Open
ChestnutYYY opened this issue Dec 6, 2022 · 0 comments
Open

How to automatically render other props? #2065

ChestnutYYY opened this issue Dec 6, 2022 · 0 comments

Comments

@ChestnutYYY
Copy link

Background:
One button component, two props( buttonProps / buttonGroupProps)
When I display it, styleguidist will only read buttonProps according to the rules and display them. but I want these props can be displayed in one place,

I try to use "PropsRenderer" from rsg-components/Props/PropsRenderer, this is a way.
image

but this method cannot automatically update when props change.

Can you tell me is there any other way? thks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant