From fdf04f7302d7faed1f6b7915166a04721929b17c Mon Sep 17 00:00:00 2001 From: Mickael Lecoq Date: Sun, 15 Jan 2023 15:16:51 +0100 Subject: [PATCH] feat: #187 add gap property --- src/restyleFunctions.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/restyleFunctions.ts b/src/restyleFunctions.ts index 02305f6f..b6b49ff9 100644 --- a/src/restyleFunctions.ts +++ b/src/restyleFunctions.ts @@ -23,6 +23,9 @@ const spacingProperties = { paddingVertical: true, paddingStart: true, paddingEnd: true, + columnGap: true, + rowGap: true, + gap: true, }; const spacingPropertiesShorthand = { @@ -44,6 +47,9 @@ const spacingPropertiesShorthand = { py: 'paddingVertical', ps: 'paddingStart', pe: 'paddingEnd', + g: 'gap', + rG: 'rowGap', + cG: 'columnGap', }; const typographyProperties = {