UNPKG

primereact

Version:

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![npm version](https://badge.fury.io/js/primereact.svg)](https://badge.fury.io/js/primereact) [![Discord Chat](https://img.shields.io/discord/5579

21 lines (18 loc) 544 B
import * as React from 'react'; import {SyntheticEvent} from "react"; interface OverlayPanelProps { id?: string; dismissable?: boolean; showCloseIcon?: boolean; style?: object; className?: string; appendTo?: any; ariaCloseLabel?: string; breakpoints?: {[key: string]: string}; onHide?(): void; } export class OverlayPanel extends React.Component<OverlayPanelProps,any> { public toggle(event:SyntheticEvent):void; public show(event:SyntheticEvent,target:EventTarget):void; public hide():void; }