@mozaic-ds/vue
Version:
Mozaic-Vue is the Vue.js implementation of ADEO Design system
27 lines (24 loc) • 739 B
text/typescript
/**
* Code Connect mapping for MStepperCompact
* Links Figma Stepper (Compact) (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=13297-24864',
{
props: {
label: figma.string('Step label'),
description: figma.string('Next step label'),
},
example: ({ label, description }) =>
html`<script setup>
import { MStepperCompact } from '@mozaic-ds/vue';
</script>
<MStepperCompact
label=${label}
:description=${description}
:value="1"
:max-steps="4"
></MStepperCompact>`,
},
);