UNPKG

@teamsparta/stack-custom-modal

Version:
50 lines (46 loc) 972 B
"use client"; import { __objRest, __spreadProps, __spreadValues } from "./chunk-FUJQIYOF.mjs"; // src/compounds/CustomModalButtonGroup.tsx import { Flex } from "@teamsparta/stack-flex"; import { forwardRef } from "react"; import { jsx } from "@emotion/react/jsx-runtime"; var CustomModalButtonGroup = 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, fullWidth, align, justify }, restProps), { children }) ); } ); CustomModalButtonGroup.displayName = "CustomModalButtonGroup"; export { CustomModalButtonGroup };