UNPKG

@yamada-ui/popover

Version:

Yamada UI popover component

36 lines (34 loc) 805 B
"use client" import { usePopover } from "./chunk-QNKQMZVS.mjs"; // src/popover-footer.tsx import { forwardRef, ui } from "@yamada-ui/core"; import { cx } from "@yamada-ui/utils"; import { jsx } from "react/jsx-runtime"; var PopoverFooter = forwardRef( ({ className, ...rest }, ref) => { const { styles } = usePopover(); const css = { alignItems: "center", display: "flex", justifyContent: "flex-start", ...styles.footer }; return /* @__PURE__ */ jsx( ui.footer, { ref, className: cx("ui-popover__footer", className), __css: css, ...rest } ); } ); PopoverFooter.displayName = "PopoverFooter"; PopoverFooter.__ui__ = "PopoverFooter"; export { PopoverFooter }; //# sourceMappingURL=chunk-SZYUN5JZ.mjs.map