@mozaic-ds/vue
Version:
Mozaic-Vue is the Vue.js implementation of ADEO Design system
27 lines (24 loc) • 959 B
text/typescript
/**
* Code Connect mapping for MStepperStacked
* Links Figma Stepper (Stacked) (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=13179-6447',
{
props: {
showStep03: figma.boolean('Show Step 03'),
showStep04: figma.boolean('Show Step 04'),
showStep05: figma.boolean('Show Step 05'),
showStep06: figma.boolean('Show Step 06'),
},
example: () =>
html`<script setup>
import { MStepperStacked } from '@mozaic-ds/vue';
</script>
<MStepperStacked
:current-step="1"
:steps="[{ label: 'Step label', additionalInfo: 'Additional information' }, { label: 'Step label', additionalInfo: 'Additional information' }, { label: 'Step label', additionalInfo: 'Additional information' }]"
></MStepperStacked>`,
},
);