@onesy/ui-react
Version:
UI for React
22 lines (21 loc) • 667 B
TypeScript
import React from 'react';
import OnesySubscription from '@onesy/subscription/OnesySubscription';
import { IBaseElement } from '../types';
export declare type TMethodsVersion = 'add' | 'pulse' | 'remove';
export declare type IInteraction = IBaseElement & {
wave?: boolean;
background?: boolean;
border?: boolean;
pulse?: boolean;
origin?: 'center';
preselected?: boolean;
selected?: boolean;
dragged?: boolean;
pulseOnMouseDown?: boolean;
wave_version?: 'simple';
subscription?: OnesySubscription;
clear?: any;
mobileDelay?: number;
};
declare const Interaction: React.FC<IInteraction>;
export default Interaction;