@amsterdam/design-system-react
Version:
All React components from the Amsterdam Design System. Use it to compose pages in your website or application.
20 lines (19 loc) • 695 B
TypeScript
/**
* @license EUPL-1.2+
* Copyright Gemeente Amsterdam
*/
import type { HTMLAttributes, PropsWithChildren } from 'react';
export type AccordionSectionProps = {
/** Whether the content is displayed initially. */
expanded?: boolean;
/** The heading text. */
label: string;
} & PropsWithChildren<HTMLAttributes<HTMLElement>>;
export declare const AccordionSection: import("react").ForwardRefExoticComponent<{
/** Whether the content is displayed initially. */
expanded?: boolean;
/** The heading text. */
label: string;
} & HTMLAttributes<HTMLElement> & {
children?: import("react").ReactNode | undefined;
} & import("react").RefAttributes<HTMLDivElement>>;