UNPKG

@uiw/react-heat-map

Version:

React component create calendar heatmap to visualize time series data, a la github contribution graph.

20 lines (19 loc) 793 B
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; var _excluded = ["prefixCls", "className"]; import React from 'react'; import SVG from './SVG'; import "./style/index.css"; import { jsx as _jsx } from "react/jsx-runtime"; export * from './SVG'; export default function HeatMap(props) { var _props$prefixCls = props.prefixCls, prefixCls = _props$prefixCls === void 0 ? 'w-heatmap' : _props$prefixCls, className = props.className, others = _objectWithoutPropertiesLoose(props, _excluded); var cls = [className, prefixCls].filter(Boolean).join(' '); return /*#__PURE__*/_jsx(SVG, _extends({ className: cls }, others)); } //# sourceMappingURL=index.js.map