aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/website/ts/@next/constants/utilities.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/@next/constants/utilities.tsx b/packages/website/ts/@next/constants/utilities.tsx
index 685b9e6f9..0d626c91b 100644
--- a/packages/website/ts/@next/constants/utilities.tsx
+++ b/packages/website/ts/@next/constants/utilities.tsx
@@ -13,7 +13,7 @@ export const PADDING_SIZES: PaddingSizes = {
'small': '15px',
};
-export const getCSSPadding = (value: number | Array<string | number>): string => {
+export const getCSSPadding = (value: number | Array<string | number> = 0): string => {
if (Array.isArray(value)) {
return value.map(val => PADDING_SIZES[val] || `${val}px`).join(' ');
} else {