Skip to content

Commit d2f2e29

Browse files
author
Rogin Farrer
committed
Update flexShrink type to support string values
1 parent 5929a3a commit d2f2e29

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/serious-phones-itch.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'rainbow-sprinkles': patch
3+
---
4+
5+
Update flexShrink type to support string values

packages/rainbow-sprinkles/src/css.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8279,7 +8279,7 @@ export namespace Property {
82798279

82808280
export type FlexGrow = OnlyStringNumeric;
82818281

8282-
export type FlexShrink = OnlyNumber;
8282+
export type FlexShrink = OnlyStringNumeric;
82838283

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

0 commit comments

Comments
 (0)