@mozaic-ds/vue
Version:
Mozaic-Vue is the Vue.js implementation of ADEO Design system
25 lines (22 loc) • 712 B
text/typescript
/**
* Code Connect mapping for MActionBottomBar
* Links Figma Action bottom bar (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=10709-6937',
{
props: {
shadow: figma.boolean('Has shadow'),
},
example: ({ shadow }) =>
html`<script setup>
import { MActionBottomBar, MButton } from '@mozaic-ds/vue';
</script>
<MActionBottomBar shadow=${shadow}>
<template #right>
<MButton size="s" appearance="accent">Save</MButton>
</template>
</MActionBottomBar>`,
},
);