UNPKG

@teamsparta/stack-custom-modal

Version:
25 lines (21 loc) 746 B
"use client"; import { __objRest, __spreadProps, __spreadValues } from "./chunk-FUJQIYOF.mjs"; // src/compounds/CustomModalSubTitle.tsx import { Text } from "@teamsparta/stack-text"; import { vars } from "@teamsparta/stack-tokens"; import { forwardRef } from "react"; import { jsx } from "@emotion/react/jsx-runtime"; var CustomModalSubTitle = forwardRef( (_a, ref) => { var _b = _a, { children, font = "bodyB", color = vars.text.quaternary } = _b, restProps = __objRest(_b, ["children", "font", "color"]); return /* @__PURE__ */ jsx(Text, __spreadProps(__spreadValues({ ref, as: "h3", font, color }, restProps), { children })); } ); CustomModalSubTitle.displayName = "CustomModalSubTitle"; export { CustomModalSubTitle };