hoda-react
Version:
<div align="center"> <h1>:construction: flowbite-react (unreleased) :construction:</h1> <p> <a href="https://flowbite-react.com"> <img alt="Flowbite - Tailwind CSS components" width="350" src=".github/assets/flowbite-react-github.png"> <
16 lines (15 loc) • 540 B
TypeScript
import type { Middleware, Placement } from '@floating-ui/react';
import type { RefObject } from 'react';
/**
* @see https://floating-ui.com/docs/middleware
*/
export declare const getMiddleware: ({ arrowRef, placement, }: {
arrowRef: RefObject<HTMLDivElement>;
placement: 'auto' | Placement;
}) => Middleware[];
export declare const getPlacement: ({ placement }: {
placement: 'auto' | Placement;
}) => Placement | undefined;
export declare const getArrowPlacement: ({ placement }: {
placement: Placement;
}) => Placement;