Skip to content

Commit

Permalink
feat(components): add auto to Margin type
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhavel committed Sep 23, 2024
1 parent 5f81895 commit f92220b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/components/src/utils/frameProps.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit f92220b

Please sign in to comment.