1 | import React from 'react';
|
2 | import type { FC, ReactNode } from 'react';
|
3 | import { NativeProps } from '../../utils/native-props';
|
4 | declare type Offset = {
|
5 | x: number;
|
6 | y: number;
|
7 | };
|
8 | export declare type FloatingBubbleProps = {
|
9 | onClick?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
10 | axis?: 'x' | 'y' | 'xy' | 'lock';
|
11 | magnetic?: 'x' | 'y';
|
12 | children?: ReactNode;
|
13 | offset?: Offset;
|
14 | defaultOffset?: Offset;
|
15 | onOffsetChange?: (offset: Offset) => void;
|
16 | } & NativeProps<'--initial-position-left' | '--initial-position-right' | '--initial-position-top' | '--initial-position-bottom' | '--z-index' | '--edge-distance' | '--size' | '--border-radius' | '--background'>;
|
17 | export declare const FloatingBubble: FC<FloatingBubbleProps>;
|
18 | export {};
|