@mantine/core
Version:
React components library focused on usability, accessibility and developer experience
20 lines (19 loc) • 587 B
TypeScript
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;
}>;