@types/react-add-to-calendar
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

Installation

npm install --save @types/react-add-to-calendar

Summary

This package contains type definitions for react-add-to-calendar (https://github.com/jasonsalzman/react-add-to-calendar).

Details

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

index.d.ts

import * as React from "react";

export interface AddToCalendarEvent {
    title?: string | undefined;
    description?: string | undefined;
    location?: string | undefined;
    startTime?: string | Date | undefined;
    endTime?: string | Date | undefined;
}

export interface AddToCalendarProps {
    buttonClassClosed?: string | undefined;
    buttonClassOpen?: string | undefined;
    buttonLabel?: string | undefined;
    buttonTemplate?: any;
    buttonIconClass?: string | undefined;
    useFontAwesomeIcons?: boolean | undefined;
    buttonWrapperClass?: string | undefined;
    displayItemIcons?: boolean | undefined;
    optionsOpen?: boolean | undefined;
    dropdownClass?: string | undefined;
    event: AddToCalendarEvent;
    listItems?: any[] | undefined;
    rootClass?: string | undefined;
}

declare const ReactAddToCalendar: React.ComponentClass<AddToCalendarProps>;

export default ReactAddToCalendar;

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: @types/react

Credits

These definitions were written by Konstantin Lebedev.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/react-add-to-calendar

Weekly Downloads

2,696

Version

0.1.3

License

MIT

Unpacked Size

4.6 kB

Total Files

5

Last publish

Collaborators

  • types