Socket
Socket
Sign inDemoInstall

@types/react-calendar-heatmap

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react-calendar-heatmap - npm Package Compare versions

Comparing version 1.6.2 to 1.6.3

34

react-calendar-heatmap/index.d.ts

@@ -10,22 +10,22 @@ // Type definitions for react-calendar-heatmap 1.6

export interface Props {
classForValue?: (value: any) => any;
endDate?: string | number | Date;
gutterSize?: number;
horizontal?: boolean;
monthLabels?: string[];
numDays?: number;
onClick?: (value: any) => void;
onMouseLeave?: (e: any, value: any) => void;
onMouseOver?: (e: any, value: any) => void;
showMonthLabels?: boolean;
showOutOfRangeDays?: boolean;
showWeekdayLabels?: boolean;
startDate?: string | number | Date;
titleForValue?: (value: any) => any;
tooltipDataAttrs?: object;
transformDayElement?: (rect: any, value: any, index: number) => any;
classForValue?: ((value: any) => any) | undefined;
endDate?: string | number | Date | undefined;
gutterSize?: number | undefined;
horizontal?: boolean | undefined;
monthLabels?: string[] | undefined;
numDays?: number | undefined;
onClick?: ((value: any) => void) | undefined;
onMouseLeave?: ((e: any, value: any) => void) | undefined;
onMouseOver?: ((e: any, value: any) => void) | undefined;
showMonthLabels?: boolean | undefined;
showOutOfRangeDays?: boolean | undefined;
showWeekdayLabels?: boolean | undefined;
startDate?: string | number | Date | undefined;
titleForValue?: ((value: any) => any) | undefined;
tooltipDataAttrs?: object | undefined;
transformDayElement?: ((rect: any, value: any, index: number) => any) | undefined;
values: any[];
weekdayLabels?: string[];
weekdayLabels?: string[] | undefined;
}
export default class ReactCalendarHeatmap extends React.Component<Props> {}
{
"name": "@types/react-calendar-heatmap",
"version": "1.6.2",
"version": "1.6.3",
"description": "TypeScript definitions for react-calendar-heatmap",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-calendar-heatmap",
"license": "MIT",

@@ -14,5 +15,7 @@ "contributors": [

"main": "",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/react-calendar-heatmap"
},

@@ -23,4 +26,4 @@ "scripts": {},

},
"typesPublisherContentHash": "f76ed4abd2b0acad06e43eb1c5acd328501f97ef1ceea1606299d8feeafa6e64",
"typeScriptVersion": "2.8"
"typesPublisherContentHash": "0e977072aca35327710dd30b6020091aa3b6359732518361bb424eb99a663e6e",
"typeScriptVersion": "3.6"
}

@@ -8,10 +8,44 @@ # Installation

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-calendar-heatmap
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-calendar-heatmap.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-calendar-heatmap/index.d.ts)
````ts
// Type definitions for react-calendar-heatmap 1.6
// Project: https://github.com/patientslikeme/react-calendar-heatmap
// Definitions by: Keisuke Kan <https://github.com/9renpoto>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
Additional Details
* Last updated: Sat, 04 Aug 2018 00:56:31 GMT
* Dependencies: react
import * as React from 'react';
export interface Props {
classForValue?: ((value: any) => any) | undefined;
endDate?: string | number | Date | undefined;
gutterSize?: number | undefined;
horizontal?: boolean | undefined;
monthLabels?: string[] | undefined;
numDays?: number | undefined;
onClick?: ((value: any) => void) | undefined;
onMouseLeave?: ((e: any, value: any) => void) | undefined;
onMouseOver?: ((e: any, value: any) => void) | undefined;
showMonthLabels?: boolean | undefined;
showOutOfRangeDays?: boolean | undefined;
showWeekdayLabels?: boolean | undefined;
startDate?: string | number | Date | undefined;
titleForValue?: ((value: any) => any) | undefined;
tooltipDataAttrs?: object | undefined;
transformDayElement?: ((rect: any, value: any, index: number) => any) | undefined;
values: any[];
weekdayLabels?: string[] | undefined;
}
export default class ReactCalendarHeatmap extends React.Component<Props> {}
````
### Additional Details
* Last updated: Thu, 08 Jul 2021 20:20:30 GMT
* Dependencies: [@types/react](https://npmjs.com/package/@types/react)
* Global values: none
# Credits
These definitions were written by Keisuke Kan <https://github.com/9renpoto>.
These definitions were written by [Keisuke Kan](https://github.com/9renpoto).

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc