Skip to content

Commit

Permalink
fix: type Grid size proptype to accep grow and auto values (#323)
Browse files Browse the repository at this point in the history
  • Loading branch information
ablagoev committed Feb 11, 2025
1 parent 65364ca commit 4e16b32
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/pigment-css-react/src/Grid.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ process.env.NODE_ENV !== 'production' &&
*/
size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([
PropTypes.arrayOf(PropTypes.number),
PropTypes.oneOf(['grow', 'auto']),
PropTypes.number,
PropTypes.object,
]),
Expand Down

0 comments on commit 4e16b32

Please sign in to comment.