Skip to content

Instantly share code, notes, and snippets.

@sadewole
Created January 24, 2022 17:18
Show Gist options
  • Save sadewole/37caf7329e623b8c7806c8e00ff4bf9d to your computer and use it in GitHub Desktop.
Save sadewole/37caf7329e623b8c7806c8e00ff4bf9d to your computer and use it in GitHub Desktop.
AccordionItem.vue - Script: Intro
<script lang="ts">
import { ref, inject, onMounted, onUpdated, watch, defineComponent } from "vue";
export default defineComponent({
name: "AccordionItem",
props: {
label: { type: String, required: true },
defaultIsOpen: { type: Boolean, required: false },
}
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment