Disclosure

  • Disclosure title
    lol
  • Disclosure title
    lol

Props for Disclosure parent

PropTypeDefault/Notes
concedeBooleanDefault: false; Prevent wrapper from controlling open/close state and allow multiple items to stay open simultaneously

Props for DisclosureItem

PropTypeDefault/Notes
titleStringTitle of disclosure item
boldBooleanDefault: false; Bold disclosure title

Example usage

<template>
	<Disclosure>
		<DisclosureItem>lol</DisclosureItem>
		<DisclosureItem>lol</DisclosureItem>
	</Disclosure>
</template>

<script>
	import { Disclosure, DisclosureItem } from 'figma-plugin-ds-vue'

	export default {
		components: {
			Disclosure,
			DisclosureItem
		}
	}
</script>