From f92220b4dad5e912a8e9b23939e071279f558a5a Mon Sep 17 00:00:00 2001 From: Adam Havel Date: Thu, 19 Sep 2024 09:18:09 +0200 Subject: [PATCH] feat(components): add auto to Margin type --- packages/components/src/utils/frameProps.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/components/src/utils/frameProps.tsx b/packages/components/src/utils/frameProps.tsx index fc2012333bb..74fd2bb6e1e 100644 --- a/packages/components/src/utils/frameProps.tsx +++ b/packages/components/src/utils/frameProps.tsx @@ -3,10 +3,10 @@ import { makePropsTransient, TransientProps } from './transientProps'; import { SpacingValues } from '@trezor/theme'; type Margin = { - top?: SpacingValues; - bottom?: SpacingValues; - left?: SpacingValues; - right?: SpacingValues; + top?: SpacingValues | 'auto'; + bottom?: SpacingValues | 'auto'; + left?: SpacingValues | 'auto'; + right?: SpacingValues | 'auto'; }; const overflows = [ 'auto',