chore: run eslint fix
This commit is contained in:
parent
f540d332fb
commit
28fffb1cba
2
.github/ISSUE_TEMPLATE/bug-report.yml
vendored
2
.github/ISSUE_TEMPLATE/bug-report.yml
vendored
|
|
@ -1,6 +1,6 @@
|
|||
name: 🐞 Bug report
|
||||
description: Create a report to help us improve shadcn-vue.
|
||||
title: "[Bug]: "
|
||||
title: '[Bug]: '
|
||||
labels: [bug]
|
||||
body:
|
||||
- type: markdown
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
import { cva } from "class-variance-authority";
|
||||
import { cva } from 'class-variance-authority'
|
||||
|
||||
export const buttonClass = cva(
|
||||
'flex px-2 py-2',
|
||||
{
|
||||
variants: {
|
||||
primary: 'bg-blue-200',
|
||||
secondary: 'bg-red-400'
|
||||
}
|
||||
}
|
||||
secondary: 'bg-red-400',
|
||||
},
|
||||
},
|
||||
)
|
||||
|
|
@ -1,14 +1,16 @@
|
|||
<script setup>
|
||||
const props = defineProps({
|
||||
title: String,
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="flex items-center justify-center bg-white border border-neutral-200 shadow-sm rounded-xl h-[280px] overflow-hidden relative px-6">
|
||||
<p class="text-xl font-semibold absolute left-4 top-3 rounded-lg bg-neutral-100 px-2 py-1 text-neutral-600">{{ props.title }}</p>
|
||||
<p class="text-xl font-semibold absolute left-4 top-3 rounded-lg bg-neutral-100 px-2 py-1 text-neutral-600">
|
||||
{{ props.title }}
|
||||
</p>
|
||||
<div class="overflow-y-scroll flex-grow h-full max-h-full flex items-center justify-center pb-4 pt-12">
|
||||
<slot />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
const props = defineProps({
|
||||
title: String
|
||||
})
|
||||
</script>
|
||||
|
|
@ -1 +1 @@
|
|||
export { default as Card } from "./Card.vue";
|
||||
export { default as Card } from './Card.vue'
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
packages:
|
||||
- "packages/*"
|
||||
- 'packages/*'
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user