@riishabh/react-calender-heatmap 4.0.5 → 4.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/dist/cjs/index.js +356 -1315
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/Tilechart/Tilechart.d.ts +1 -1
- package/dist/esm/index.js +356 -1315
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/Tilechart/Tilechart.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +17 -16
package/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
The `TileChart` is a React component that displays data in a tile format, where each tile represents a day. The color of the tile indicates the status of that day, which can be "success", "warning", or "alert".
|
|
4
4
|
|
|
5
|
+
> Compatible with React 18 and React 19 applications.
|
|
6
|
+
|
|
5
7
|
## Props
|
|
6
8
|
|
|
7
9
|
- `data`: An array of objects, where each object represents a day and has a `date` and a `status`. The `date` is a string in ISO format, and the `status` can be "success", "warning", or "alert".
|
|
@@ -31,4 +33,4 @@ function App() {
|
|
|
31
33
|
);
|
|
32
34
|
}
|
|
33
35
|
|
|
34
|
-
export default App;
|
|
36
|
+
export default App;
|