UNPKG

563 BTypeScriptView Raw
1export type FloatingBubbleThemeVars = {
2 floatingBubbleSize?: string;
3 floatingBubbleInitialGap?: string;
4 floatingBubbleIconSize?: string;
5 floatingBubbleBackground?: string;
6 floatingBubbleColor?: string;
7 floatingBubbleZIndex?: number | string;
8};
9export type FloatingBubbleAxis = 'x' | 'y' | 'xy' | 'lock';
10export type FloatingBubbleMagnetic = 'x' | 'y';
11export type FloatingBubbleOffset = {
12 x: number;
13 y: number;
14};
15export type FloatingBubbleBoundary = {
16 top: number;
17 right: number;
18 bottom: number;
19 left: number;
20};