chore: fix readme & title

This commit is contained in:
YunYouJun
2023-08-03 23:19:37 +08:00
parent 1bd0a6721e
commit 95ce2c4dac
5 changed files with 479 additions and 340 deletions

View File

@@ -3,11 +3,12 @@ import { Disclosure, DisclosureButton, DisclosurePanel } from '@headlessui/vue'
defineProps<{
title: string
defaultOpen?: boolean
}>()
</script>
<template>
<Disclosure v-slot="{ open }" as="div" class="mt-2">
<Disclosure v-slot="{ open }" :default-open="defaultOpen" as="div" class="mt-2">
<DisclosureButton
class="w-full flex justify-between rounded-lg bg-blue-100 px-4 py-2 text-left text-sm font-medium text-blue-900 hover:bg-blue-200 focus:outline-none focus-visible:ring focus-visible:ring-blue-500 focus-visible:ring-opacity-75"
>