UNPKG

@mozaic-ds/vue

Version:

Mozaic-Vue is the Vue.js implementation of ADEO Design system

32 lines (29 loc) 850 B
/** * Code Connect mapping for MTile * Links Figma Tile (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=156-18755', { props: { type: figma.enum('Type', { 'Base (as container)': 'base', 'Clickable (as navigation)': 'clickable', 'Expandable (as accordion)': 'expandable', 'Selectable (as option)': 'selectable', }), bordered: figma.enum('Is bordered', { True: true, False: false, }), }, example: ({ bordered }) => html`<script setup> import { MTile } from '@mozaic-ds/vue'; </script> <MTile bordered=${bordered}> <p>Tile content</p> </MTile>`, }, );