1 | import { UsePopperOptions, Offset, Placement, Modifiers } from './usePopper';
|
2 | export declare type Config = {
|
3 | flip?: boolean;
|
4 | fixed?: boolean;
|
5 | alignEnd?: boolean;
|
6 | enabled?: boolean;
|
7 | containerPadding?: number;
|
8 | arrowElement?: Element | null;
|
9 | enableEvents?: boolean;
|
10 | offset?: Offset;
|
11 | placement?: Placement;
|
12 | popperConfig?: UsePopperOptions;
|
13 | };
|
14 | export declare function toModifierMap(modifiers: Modifiers | undefined): Record<string, Partial<import("./usePopper").Modifier<any, any>>>;
|
15 | export declare function toModifierArray(map?: Modifiers | undefined): Partial<import("@popperjs/core").Modifier<any, any>>[];
|
16 | export default function mergeOptionsWithPopperConfig({ enabled, enableEvents, placement, flip, offset, fixed, containerPadding, arrowElement, popperConfig, }: Config): UsePopperOptions;
|