@yamada-ui/modal
Version:
Yamada UI modal component
34 lines (32 loc) • 746 B
JavaScript
"use client"
import {
ModalFooter
} from "./chunk-F6XJWJIF.mjs";
import {
useDrawer
} from "./chunk-64A25YOZ.mjs";
// src/drawer-footer.tsx
import { forwardRef } from "@yamada-ui/core";
import { cx } from "@yamada-ui/utils";
import { jsx } from "react/jsx-runtime";
var DrawerFooter = forwardRef(
({ className, ...rest }, ref) => {
const styles = useDrawer();
const css = { ...styles.footer };
return /* @__PURE__ */ jsx(
ModalFooter,
{
ref,
className: cx("ui-drawer__footer", className),
__css: css,
...rest
}
);
}
);
DrawerFooter.displayName = "DrawerFooter";
DrawerFooter.__ui__ = "DrawerFooter";
export {
DrawerFooter
};
//# sourceMappingURL=chunk-AVLVLAM5.mjs.map