Skip to content

Commit

Permalink
fix params
Browse files Browse the repository at this point in the history
  • Loading branch information
sirineJ committed Dec 20, 2024
1 parent 2e24a46 commit a56459a
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions packages/circuit-ui/components/Modal/Modal.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,15 @@ export default {
title: 'Components/Modal',
component: Modal,
tags: ['status:stable'],
chromatic: {
modes: {
mobile: modes.smallMobile,
desktop: modes.desktop,
},
pauseAnimationAtEnd: true,
},
parameters: {
layout: 'padded',
chromatic: {
modes: {
mobile: modes.smallMobile,
desktop: modes.desktop,
},
},
},
decorators: [
(Story) => (
Expand Down Expand Up @@ -167,11 +168,9 @@ export const Immersive = () => {
</>
);
};
Immersive.parameters = {
chromatic: {
modes: {
mobile: modes.smallMobile,
},
Immersive.chromatic = {
modes: {
mobile: modes.smallMobile,
},
};
Immersive.play = openModal;
Expand Down

0 comments on commit a56459a

Please sign in to comment.