Skip to content

@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 ​

ParameterType
{ summary, children, defaultOpen, className }DisclosureProps

Returns ​

ReactElement

Apache-2.0 · Headless engine, provider adapters and runnable examples.