UNPKG

@activecollab/components

Version:

ActiveCollab Components

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