@mozaic-ds/vue
Version:
Mozaic-Vue is the Vue.js implementation of ADEO Design system
28 lines (25 loc) • 724 B
text/typescript
/**
* Code Connect mapping for MModal
* Links Figma Modal (ADS2) to @mozaic-ds/vue
*/
import figma, { html } from '@figma/code-connect/html';
figma.connect(
'https://www.figma.com/design/Zyh9RyabNaqkjbuFWP9Aqj/%E2%9C%A8-Components--ADS2---Stable-version-?node-id=5-6700',
{
props: {},
example: () =>
html`<script setup>
import { MModal, MButton } from '@mozaic-ds/vue';
</script>
<MModal
open
title="Modal title"
description="A modal is a dialog window allowing you to focus the user's attention."
closable
>
<template #footer>
<MButton>Confirm</MButton>
</template>
</MModal>`,
},
);