mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div :class="ui.wrapper">
|
||||
<fieldset v-bind="attrs">
|
||||
<fieldset v-bind="attrs" :class="ui.fieldset">
|
||||
<legend v-if="legend || $slots.legend" :class="ui.legend">
|
||||
<slot name="legend">
|
||||
{{ legend }}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
export default {
|
||||
wrapper: 'relative flex items-start',
|
||||
fieldset: '',
|
||||
legend: 'text-sm font-medium text-gray-700 dark:text-gray-200 mb-1',
|
||||
default: {
|
||||
color: 'primary'
|
||||
|
||||
Reference in New Issue
Block a user