UNPKG

@uiw/react-heat-map

Version:

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

21 lines (20 loc) 692 B
import _extends from "@babel/runtime/helpers/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/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 { prefixCls = 'w-heatmap', className } = props, others = _objectWithoutPropertiesLoose(props, _excluded); var cls = [className, prefixCls].filter(Boolean).join(' '); return /*#__PURE__*/_jsx(SVG, _extends({ className: cls }, others)); } //# sourceMappingURL=index.js.map