Skip to content

Commit 1af160c

Browse files
feat(ModalBottomSheet): add xl size variant (#1030)
1 parent 96da530 commit 1af160c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/vibrant-components/src/lib/ModalBottomSheet/ModalBottomSheetProps.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export type ModalBottomSheetProps = Either<
1313
> & {
1414
title?: string;
1515
subtitle?: string;
16-
size?: 'full' | 'lg' | 'md';
16+
size?: 'full' | 'lg' | 'md' | 'xl';
1717
testId?: string;
1818
renderContents?: (_: { close: () => void }) => ReactElementChild;
1919
onClose?: () => void;
@@ -77,6 +77,9 @@ export const withModalBottomSheetVariation = withVariation<ModalBottomSheetProps
7777
lg: {
7878
desktopModalWidth: 760,
7979
},
80+
xl: {
81+
desktopModalWidth: 1132,
82+
},
8083
full: {
8184
desktopModalWidth: '100%',
8285
},

0 commit comments

Comments
 (0)