-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
[material-ui][docs][TableRow] Escape markup in children
prop so docgen tools don't parse it as HTML
#40992
Conversation
Signed-off-by: Steve Miller <millerized@me.com>
Netlify deploy previewhttps://deploy-preview-40992--material-ui.netlify.app/ Bundle size report |
Signed-off-by: Steve Miller <millerized@me.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@millerized, I don't see this error in the API docs for the TableRow
component when I run the docs server locally. Can you show on which page the error is shown?
Hi @ZeeshanTamboli! Thanks for your help. This error occurs in my storybook documentation that uses react-ts-docgen to create the props tables. This change is just a minor improvement for folks that are consuming the MUI types in their own systems. |
Signed-off-by: Steve Miller <millerized@me.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@millerized Looks fine!
children
prop so docgen tools don't parse it as HTML
This is a minor change to the
TableRow
TS prop description that allows docgen parsers to use the description without rendering the markup as HTML. See screenies for example:Before
After