@teamsparta/stack-bottom-sheet
Version:
stack bottom sheet
48 lines (44 loc) • 941 B
JavaScript
"use client";
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",
padding = "8px 20px 20px 20px",
align = "start",
justify = "start"
} = _b, restProps = __objRest(_b, [
"children",
"direction",
"padding",
"align",
"justify"
]);
return /* @__PURE__ */ jsx(
Flex,
__spreadProps(__spreadValues({
ref,
as: "footer",
direction,
padding,
align,
justify
}, restProps), {
children
})
);
}
);
BottomSheetFooter.displayName = "BottomSheetFooter";
export {
BottomSheetFooter
};