-
Notifications
You must be signed in to change notification settings - Fork 563
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
CSS Modules authoring guide #5037
Conversation
|
size-limit report 📦
|
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.
🔥
contributor-docs/authoring-css.md
Outdated
```tsx | ||
// don't offer multiple classNames | ||
export function Button({className, labelClassName}) { | ||
return |
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 think the return needs to be wrapped in parenthesis for the formatting to kick in 👀
Co-authored-by: Josh Black <joshblack@github.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.
Ship it 👍🏻
Closes https://github.com/github/primer/issues/3655
Changelog
New
Changed
Removed
Rollout strategy
Testing & Reviewing
Merge checklist