-
Notifications
You must be signed in to change notification settings - Fork 645
Update component docs (CircleBadge, Flash) #1717
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
Conversation
|
size-limit report 📦
|
| <Row | ||
| name="as" | ||
| defaultValue={`"${defaultElementType}"`} | ||
| defaultValue={isComponent ? defaultElementType : `"${defaultElementType}"`} |
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.
This prevents component names from being displayed as strings ("Overlay" vs Overlay)
| @@ -0,0 +1,93 @@ | |||
| --- | |||
| componentId: circle_badge | |||
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.
Total nitpick, but why do we put componentId at the top? I feel like title should always go first and componentId at the bottom as it's the least useful for those scanning this file.
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.
I'm fine with either :) The only reason I put it on the top was to try to avoid merge conflicts with other PRs 😅
Part of #1701