UNPKG

@teamsparta/stack-bottom-sheet

Version:
50 lines (46 loc) 972 B
"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", align = "start", justify = "start", fullWidth = true } = _b, restProps = __objRest(_b, [ "children", "gap", "direction", "align", "justify", "fullWidth" ]); return /* @__PURE__ */ jsx( Flex, __spreadProps(__spreadValues({ ref, gap, direction, align, justify, fullWidth }, restProps), { children }) ); } ); BottomSheetButtonGroup.displayName = "BottomSheetButtonGroup"; export { BottomSheetButtonGroup };