@mozaic-ds/vue
Version:
Mozaic-Vue is the Vue.js implementation of ADEO Design system
29 lines (26 loc) • 892 B
text/typescript
/**
* Code Connect mapping for MNavigationIndicator
* Links Figma Navigation indicator 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-14643',
{
props: {
player: figma.boolean('Show player'),
showIndicator03: figma.boolean('Show Indicator 03'),
showIndicator04: figma.boolean('Show Indicator 04'),
showIndicator05: figma.boolean('Show Indicator 05'),
showIndicator06: figma.boolean('Show Indicator 06'),
},
example: ({ player }) =>
html`<script setup>
import { MNavigationIndicator } from '@mozaic-ds/vue';
</script>
<MNavigationIndicator
:steps="6"
:model-value="0"
player=${player}
></MNavigationIndicator>`,
},
);