1.6.7 • Published 4 months ago

@types/react-calendar-heatmap v1.6.7

Weekly downloads
322
License
MIT
Repository
github
Last release
4 months ago

Installation

npm install --save @types/react-calendar-heatmap

Summary

This package contains type definitions for react-calendar-heatmap (https://github.com/patientslikeme/react-calendar-heatmap).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-calendar-heatmap.

index.d.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

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
  • Global values: none

Credits

These definitions were written by Keisuke Kan.

1.6.7

4 months ago

1.6.6

6 months ago

1.6.5

7 months ago

1.6.4

8 months ago

1.6.3

3 years ago

1.6.2

6 years ago

1.6.1

6 years ago

1.6.0

7 years ago