Skip to content

Commit

Permalink
Update flexShrink type to support string values
Browse files Browse the repository at this point in the history
  • Loading branch information
Rogin Farrer committed May 3, 2023
1 parent 5929a3a commit d2f2e29
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/serious-phones-itch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'rainbow-sprinkles': patch
---

Update flexShrink type to support string values
2 changes: 1 addition & 1 deletion packages/rainbow-sprinkles/src/css.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8279,7 +8279,7 @@ export namespace Property {

export type FlexGrow = OnlyStringNumeric;

export type FlexShrink = OnlyNumber;
export type FlexShrink = OnlyStringNumeric;

export type FlexWrap = 'nowrap' | 'wrap' | 'wrap-reverse';

Expand Down

0 comments on commit d2f2e29

Please sign in to comment.