UNPKG

@mozaic-ds/vue

Version:

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

30 lines (27 loc) 822 B
/** * Code Connect mapping for MCallout * Links Figma Callout (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=5-6504', { props: { appearance: figma.enum('Appearance', { Standard: 'standard', Accent: 'accent', Tips: 'tips', Inverse: 'inverse', }), }, example: ({ appearance }) => html`<script setup> import { MCallout } from '@mozaic-ds/vue'; </script> <MCallout title="This is a title, be concise and use the description message to give details." description="Description message." appearance=${appearance} ></MCallout>`, }, );