UNPKG

@mozaic-ds/vue

Version:

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

31 lines (28 loc) 809 B
/** * Code Connect mapping for MDivider * Links Figma Divider (Horizontal) (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-26971', { props: { appearance: figma.enum('Style', { Primary: 'primary', Secondary: 'secondary', Tertiary: 'tertiary', Inverse: 'inverse', }), size: figma.enum('Size', { 'S (1px)': 's', 'M (4px)': 'm', 'L (8px)': 'l', }), }, example: ({ appearance, size }) => html`<script setup> import { MDivider } from '@mozaic-ds/vue'; </script> <MDivider appearance=${appearance} size=${size} />`, }, );