DetailsPropsinterface

{
	title: ReactNode;
	open?: boolean | undefined;
	name?: string | undefined;
	children: ReactNode;
}
PropertyType
.titleReactNode
Content of the always-visible summary (e.g. a question). required
.openboolean
Whether the item starts expanded.
.namestring
Shared group name — items with the same name open exclusively (only one at a time).
.childrenReactNode
Content revealed when the item is expanded. required

Props for DetailsItem — a single collapsible disclosure.