@atlaskit/popup
Version:
A popup displays brief content in an overlay.
14 lines (13 loc) • 412 B
TypeScript
import React from 'react';
import type { TriggerProps } from '../types';
export type PopupTriggerProps = {
children: (props: TriggerProps) => React.ReactNode;
};
/**
* __Popup trigger__
*
* Popup trigger is the component that renders the trigger for the popup.
*
* It must be a child of the Popup component.
*/
export declare const PopupTrigger: ({ children }: PopupTriggerProps) => React.JSX.Element;