@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.
16 lines (15 loc) • 869 B
TypeScript
import { Component } from 'react';
/**
* @slot {"name": "heading", "description": "Defines the heading used in the banner. Can be used alternatively to the heading prop. Can be used for rich content.", "hasAltProp": true }
* @slot {"name": "title", "description": "Defines the title used in the banner. Can be used alternatively to the heading prop. Can be used for rich content.", "hasAltProp": true }
* @slot {"name": "description", "description": "Defines the description used in the banner. Can be used alternatively to the description prop. Can be used for rich content.", "hasAltProp": true }
*
* @controlled {"props": ["open"], "event": "dismiss"}
*/
export declare class DSRBanner extends Component<any> {
host: HTMLElement;
private inlineNotificationElement;
private closeBtn;
private get hasDismissButton();
render(): JSX.Element;
}