@mozaic-ds/vue
Version:
Mozaic-Vue is the Vue.js implementation of ADEO Design system
26 lines (23 loc) • 711 B
text/typescript
/**
* Code Connect mapping for MSidebarFooter
* Links Figma _sidebar / footer 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=11880-28442',
{
props: {
expendable: figma.boolean('Is expandable'),
hasProfileInfo: figma.boolean('Has profile info'),
},
example: ({ expendable }) =>
html`<script setup>
import { MSidebarFooter } from '@mozaic-ds/vue';
</script>
<MSidebarFooter
title="User name"
subtitle="user@example.com"
:expendable=${expendable}
/>`,
},
);