@mozaic-ds/vue
Version:
Mozaic-Vue is the Vue.js implementation of ADEO Design system
30 lines (27 loc) • 751 B
text/typescript
/**
* Code Connect mapping for MCheckListMenu
* Links Figma Check-list menu (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=72-30681',
{
props: {
outlined: figma.enum('is outlined', {
true: true,
false: false,
}),
},
example: ({ outlined }) =>
html`<script setup>
import { MCheckListMenu } from '@mozaic-ds/vue';
</script>
<MCheckListMenu
:items="[
{ label: 'Label', checked: true },
{ label: 'Label', checked: false },
]"
outlined=${outlined}
/>`,
},
);