UNPKG

@porsche-design-system/components-react

Version:

Porsche Design System is a component library designed to help developers create the best experience for software or services distributed by Dr. Ing. h.c. F. Porsche AG.

19 lines (18 loc) 994 B
import { Component } from 'react'; import type { JSX } from 'react'; /** * @slot {"name": "summary", "description": "Content for the accordion's summary section. Clicking toggles the accordion open and closed." } * @slot {"name": "summary-before", "description": "Content or interactive elements placed before the accordion's summary section." } * @slot {"name": "summary-after", "description": "Content or interactive elements placed after the accordion's summary section." } * @slot {"name": "heading", "description": "Content for the accordion's heading section. Clicking toggles the accordion open and closed.", "isDeprecated": true } * @slot {"name": "", "description": "Main content displayed when the accordion is expanded." } * * @controlled {"props": ["open"], "event": "update"} */ export declare class DSRAccordion extends Component<any> { host: HTMLElement; private hasSummary; private hasSummaryBefore; private hasSummaryAfter; render(): JSX.Element; }