@checkout-kit/ui / Disclosure
Variable: Disclosure
ts
const Disclosure: ({ summary, children, defaultOpen, className }) => ReactElement;A real <details>: "What is a CVC?", "Why do you need my address?". Native, so the open state, the keyboard and find-in-page are the browser's.
Parameters
| Parameter | Type |
|---|---|
{ summary, children, defaultOpen, className } | DisclosureProps |
Returns
ReactElement