UNPKG

@mozaic-ds/vue

Version:

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

28 lines (25 loc) 754 B
/** * Code Connect mapping for MStatusBadge * Links Figma Status badge (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-21619', { props: { label: figma.string('Label'), status: figma.enum('Status', { Information: 'info', Success: 'success', Warning: 'warning', Error: 'error', Neutral: 'neutral', }), }, example: ({ label, status }) => html`<script setup> import { MStatusBadge } from '@mozaic-ds/vue'; </script> <MStatusBadge label=${label} status=${status}></MStatusBadge>`, }, );