UNPKG

@mozaic-ds/vue

Version:

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

33 lines (30 loc) 845 B
/** * Code Connect mapping for MLink * Links Figma Link (Standalone) (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=6-11290', { props: { label: figma.string('Label'), size: figma.enum('Size', { S: 's', M: 'm', }), appearance: figma.enum('Appearance', { Primary: 'standard', Secondary: 'secondary', Accent: 'accent', Inverse: 'inverse', }), }, example: ({ label, size, appearance }) => html`<script setup> import { MLink } from '@mozaic-ds/vue'; </script> <MLink href="#" size=${size} appearance=${appearance}> ${label} </MLink>`, }, );