@public-ui/components
Version:
Contains all web components that belong to KoliBri - The accessible HTML-Standard.
12 lines (11 loc) • 624 B
JavaScript
/*!
* KoliBri - The accessible HTML-Standard
*/
import { __rest } from "tslib";
import { h } from "@stencil/core";
import clsx from "../../../utils/clsx";
export const PopoverFC = (props) => {
const { align = 'bottom', popoverRef, arrowRef, class: classNames } = props, rest = __rest(props, ["align", "popoverRef", "arrowRef", "class"]);
return (h("div", Object.assign({}, rest, { class: clsx('kol-popover', classNames), ref: popoverRef, popover: "auto" }), h("div", { class: clsx('kol-popover__arrow', `kol-popover__arrow--${align}`), ref: arrowRef }), h("slot", null)));
};
//# sourceMappingURL=component.js.map