-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed an issue with
css
prop type not being added to all components…
… that accept a string `className` correctly (#2140) * Invert `extends` in WithConditionalCSSProp * Add tests to WithConditionalCSSProp type * Update jsx-namespace.d.ts * Use Public API in test * Remember that components can have more than one prop 🤦 * Work around Prettier betrayal * Add changeset * Clean up prettier-ignore * Add dtslint $ExpectType comments * Update .changeset/perfect-spoons-whisper.md Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
- Loading branch information
Showing
3 changed files
with
59 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@emotion/react': patch | ||
--- | ||
|
||
Fixed an issue with `css` prop type not being added to all components that accept a string `className` correctly. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters