@mozaic-ds/vue
Version:
Mozaic-Vue is the Vue.js implementation of ADEO Design system
22 lines (19 loc) • 600 B
text/typescript
/**
* Code Connect mapping for MPageHeader
* Links Figma Page header (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=16419-62764',
{
props: {
title: figma.string('Title'),
shadow: figma.boolean('Has shadow'),
},
example: ({ title, shadow }) =>
html`<script setup>
import { MPageHeader } from '@mozaic-ds/vue';
</script>
<MPageHeader title=${title} shadow=${shadow} />`,
},
);