@teamsparta/stack-bottom-sheet
Version:
stack bottom sheet
35 lines (31 loc) • 769 B
JavaScript
"use client";
import {
footerCss
} from "./chunk-ALWYKHLT.mjs";
import {
__objRest,
__spreadProps,
__spreadValues
} from "./chunk-FUJQIYOF.mjs";
// src/compounds/BottomSheetFooter.tsx
import { Flex } from "@teamsparta/stack-flex";
import { forwardRef } from "react";
import { jsx } from "@emotion/react/jsx-runtime";
var BottomSheetFooter = forwardRef((_a, ref) => {
var _b = _a, { children, direction = "column" } = _b, restProps = __objRest(_b, ["children", "direction"]);
return /* @__PURE__ */ jsx(
Flex,
__spreadProps(__spreadValues({
ref,
as: "footer",
direction,
css: footerCss
}, restProps), {
children
})
);
});
BottomSheetFooter.displayName = "BottomSheetFooter";
export {
BottomSheetFooter
};