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) 732 B
import { Component } from 'react'; import type { JSX } from 'react'; /** * @slot {"name": "heading", "description": "Defines the heading of the banner. Can be used as an alternative to the `heading` prop for rich content." } * @slot {"name": "", "description": "Default slot for the banner description content." } * @slot {"name": "description", "description": "Deprecated: Use the default slot instead.", "isDeprecated": true } * * @controlled {"props": ["open"], "event": "dismiss"} */ export declare class DSRBanner extends Component<any> { host: HTMLElement; private refPopover; private refDismiss; private hasHeadingSlot; private hasDescriptionSlot; private topLayer; render(): JSX.Element; }