@types/react-calendar-heatmap
Advanced tools
Comparing version 1.6.2 to 1.6.3
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
5309
0
51