Skip to content

Commit

Permalink
- chore: clean modal stories
Browse files Browse the repository at this point in the history
  • Loading branch information
VasylHryha committed Dec 14, 2023
1 parent 7eeb4be commit 5ff4c9b
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions packages/ui/src/components/va-modal/VaModal.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,7 @@ export const MobileFullscreen: StoryFn = () => ({
v-model="showModal"
title="Modal with Max Width"
>
Classic modal overlay which represents a dialog box or other interactive
component, such as a dismissible alert, sub-window, etc.
<p>This modal is fullscreen on mobile devices.</p>
</VaModal>
`,
})
Expand Down Expand Up @@ -332,20 +331,6 @@ export const Fullscreen: StoryFn = () => ({
})
Fullscreen.play = playShowModal

export const MobileFullscreenModal: StoryFn = () => ({
components: { VaModal, VaButton },
data: () => ({
showModal: false,
}),
template: `
<VaButton @click="showModal = true">Show Modal</VaButton>
<VaModal v-model="showModal" title="Mobile Fullscreen Modal" :mobile-fullscreen="true">
<p>This modal is fullscreen on mobile devices.</p>
</VaModal>
`,
})
MobileFullscreenModal.play = playShowModal

export const HideDefaultActionsModal: StoryFn = () => ({
components: { VaModal, VaButton },
data: () => ({
Expand Down

0 comments on commit 5ff4c9b

Please sign in to comment.