UNPKG

@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
/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */ import type { HTMLAttributes, PropsWithChildren } from 'react'; export type AccordionSectionProps = PropsWithChildren<HTMLAttributes<HTMLElement>> & { /** Whether the content is displayed initially. */ expanded?: boolean; /** The heading text. */ label: string; }; export declare const AccordionSection: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLElement> & { children?: import("react").ReactNode | undefined; } & { /** Whether the content is displayed initially. */ expanded?: boolean; /** The heading text. */ label: string; } & import("react").RefAttributes<HTMLDivElement>>;