@activecollab/components
Version:
ActiveCollab Components
19 lines • 700 B
JavaScript
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 {
weight = "regular",
children
} = _ref,
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