UNPKG

@activecollab/components

Version:

ActiveCollab Components

19 lines 688 B
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; const _excluded = ["weight", "children"]; import React, { forwardRef } from "react"; import { Typography } from "../Typography"; export const Title2 = /*#__PURE__*/forwardRef((_ref, ref) => { let { weight = "light", children } = _ref, props = _objectWithoutPropertiesLoose(_ref, _excluded); return /*#__PURE__*/React.createElement(Typography, _extends({ weight: weight, variant: "Title 2", ref: ref }, props), children); }); Title2.displayName = "Title2"; //# sourceMappingURL=Title2.js.map