@teamsparta/stack-bottom-sheet
Version:
stack bottom sheet
34 lines (30 loc) • 802 B
JavaScript
"use client";
import {
__objRest,
__spreadProps,
__spreadValues
} from "./chunk-FUJQIYOF.mjs";
// src/compounds/BottomSheetButtonGroup.tsx
import { Flex } from "@teamsparta/stack-flex";
import { forwardRef } from "react";
import { jsx } from "@emotion/react/jsx-runtime";
var BottomSheetButtonGroup = forwardRef(
(_a, ref) => {
var _b = _a, { children, gap = 8, direction = "row", fullWidth = true } = _b, restProps = __objRest(_b, ["children", "gap", "direction", "fullWidth"]);
return /* @__PURE__ */ jsx(
Flex,
__spreadProps(__spreadValues({
ref,
gap,
direction,
fullWidth
}, restProps), {
children
})
);
}
);
BottomSheetButtonGroup.displayName = "BottomSheetButtonGroup";
export {
BottomSheetButtonGroup
};