UNPKG

@activecollab/components

Version:

ActiveCollab Components

18 lines 751 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 Title1 = /*#__PURE__*/forwardRef((_ref, ref) => { let _ref$weight = _ref.weight, weight = _ref$weight === void 0 ? "light" : _ref$weight, children = _ref.children, props = _objectWithoutPropertiesLoose(_ref, _excluded); return /*#__PURE__*/React.createElement(Typography, _extends({ weight: weight, variant: "Title 1", ref: ref }, props), children); }); Title1.displayName = "Title1"; //# sourceMappingURL=Title1.js.map