@esri/calcite-components
Version:
Web Components for Esri's Calcite Design System.
21 lines (20 loc) • 905 B
TypeScript
import { FunctionalComponent } from "../../stencil-public-runtime";
import { JSXAttributes } from "../../stencil-public-runtime";
import { FloatingLayout } from "../../utils/floating-ui";
interface FloatingArrowProps extends JSXAttributes {
floatingLayout: FloatingLayout;
}
/**
* Renders a SVG element to be used as a floating-ui arrow.
*
* This functional component should be rendered inside a `FloatingUIComponent` when it needs an arrow element.
*
* @param floatingLayout.floatingLayout
* @param floatingLayout – The effective floating layout to render the arrow vertically or horizontally. Possible values: `vertical` or `horizontal`.
*
* See [floating-ui](https://github.com/Esri/calcite-components/blob/master/src/utils/floating-ui.ts)
* @param floatingLayout.key
* @param floatingLayout.ref
*/
export declare const FloatingArrow: FunctionalComponent<FloatingArrowProps>;
export {};