UNPKG

@mantine/core

Version:

React components library focused on usability, accessibility and developer experience

21 lines (20 loc) 614 B
import React from 'react'; import { Factory } from '../../../core'; export interface PopoverTargetProps { /** Target element */ children: React.ReactNode; /** Key of the prop that should be used to access element ref */ refProp?: string; /** Popup accessible type, `'dialog'` by default */ popupType?: string; } export type PopoverTargetFactory = Factory<{ props: PopoverTargetProps; ref: HTMLElement; compound: true; }>; export declare const PopoverTarget: import("../../../core").MantineComponent<{ props: PopoverTargetProps; ref: HTMLElement; compound: true; }>;