Skip to content

Commit

Permalink
feat: Shopify#187 add gap property
Browse files Browse the repository at this point in the history
  • Loading branch information
mlecoq committed Jan 19, 2023
1 parent 6cca8d4 commit fdf04f7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/restyleFunctions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ const spacingProperties = {
paddingVertical: true,
paddingStart: true,
paddingEnd: true,
columnGap: true,
rowGap: true,
gap: true,
};

const spacingPropertiesShorthand = {
Expand All @@ -44,6 +47,9 @@ const spacingPropertiesShorthand = {
py: 'paddingVertical',
ps: 'paddingStart',
pe: 'paddingEnd',
g: 'gap',
rG: 'rowGap',
cG: 'columnGap',
};

const typographyProperties = {
Expand Down

0 comments on commit fdf04f7

Please sign in to comment.