Disclosure
An inspector section headed by a triangle
Owner · Killua Zoldyck · due 14 November
Usage
import { Disclosure } from "@gpuixui/components/disclosure";
<Disclosure title="Details">
<PropertyRows />
</Disclosure>;Composition
Disclosure (a Collapsible)
├── trigger — the triangle and the 13-point semibold title
└── content — opened through the collapsible's measured revealAPI
| Prop | Type | Default |
|---|---|---|
title | string | — |
defaultOpen | boolean | true, as an inspector opens |
testId | string — on the header | — |
children | ReactNode — the body | — |
Edit this page on GitHubpackages/components/docs/disclosure.mdx