Skip to content

Commit

Permalink
changed enum related values in footer
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel-Cross committed Dec 31, 2024
1 parent c8f3a18 commit d7d00ad
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import { FooterElement, ButtonElement } from '@metamask/snaps-sdk/jsx';
import { getJsxChildren } from '@metamask/snaps-utils';
import { UIComponent, UIComponentFactory, UIComponentParams } from './types';
import { BackgroundColor, BlockSize, Display, FlexDirection } from '../utils';
import { BackgroundColor, BlockSize, FlexDirection } from '../utils';

Check failure on line 4 in app/components/Approvals/Snaps/SnapUIRenderer/components/footer.ts

View workflow job for this annotation

GitHub Actions / scripts (lint)

'BlockSize' is defined but never used

Check failure on line 4 in app/components/Approvals/Snaps/SnapUIRenderer/components/footer.ts

View workflow job for this annotation

GitHub Actions / scripts (lint)

'FlexDirection' is defined but never used
import { ButtonVariant } from '@metamask/snaps-sdk';
import { Button as buttonFn } from './button';

export const DEFAULT_FOOTER = {
element: 'Box',
key: 'default-footer',
props: {
flexDirection: FlexDirection.Row,
width: BlockSize.Full,
flexDirection: 'row',
width: '100%',
gap: 4,
padding: 4,
className: 'snap-ui-renderer__footer',
Expand Down

0 comments on commit d7d00ad

Please sign in to comment.