@kubit-ui-web/react-components
Version:
Kubit React Components is a customizable, accessible library of React web components, designed to enhance your application's user experience
10 lines (9 loc) • 420 B
TypeScript
import { Coords, Middleware, MiddlewareState } from '../types';
export declare const convertValueToCoords: (state: MiddlewareState, value: number) => Coords;
/**
* Modifies the placement by translating the floating element along the
* specified axes.
* A number (shorthand for `mainAxis` or distance), or an axes configuration
* object may be passed.
*/
export declare const offset: (value?: number) => Middleware;