UNPKG

@teamsparta/stack-bottom-sheet

Version:
52 lines (48 loc) 1.02 kB
"use client"; import { headerCss } from "./chunk-CJOZ64D5.mjs"; import { __objRest, __spreadProps, __spreadValues } from "./chunk-FUJQIYOF.mjs"; // src/compounds/BottomSheetHeader.tsx import { Flex } from "@teamsparta/stack-flex"; import { forwardRef } from "react"; import { jsx } from "@emotion/react/jsx-runtime"; var BottomSheetHeader = forwardRef( (_a, ref) => { var _b = _a, { children, direction = "column", padding = "0px 20px 16px 20px", align = "start", justify = "start" } = _b, restProps = __objRest(_b, [ "children", "direction", "padding", "align", "justify" ]); return /* @__PURE__ */ jsx( Flex, __spreadProps(__spreadValues({ ref, as: "header", direction, padding, align, justify, css: headerCss }, restProps), { children }) ); } ); BottomSheetHeader.displayName = "BottomSheetHeader"; export { BottomSheetHeader };