Socket
Socket
Sign inDemoInstall

@types/react-big-calendar

Package Overview
Dependencies
3
Maintainers
1
Versions
91
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.31.0 to 0.31.1

18

react-big-calendar/index.d.ts

@@ -189,7 +189,7 @@ // Type definitions for react-big-calendar 0.31

day?: {
header?: React.ComponentType;
header?: React.ComponentType<HeaderProps>;
event?: React.ComponentType<EventProps<TEvent>>;
};
week?: {
header?: React.ComponentType;
header?: React.ComponentType<HeaderProps>;
event?: React.ComponentType<EventProps<TEvent>>;

@@ -269,2 +269,9 @@ };

export interface SlotInfo {
start: stringOrDate;
end: stringOrDate;
slots: Date[] | string[];
action: 'select' | 'click' | 'doubleClick';
}
export type Culture = string;

@@ -303,8 +310,3 @@ export type FormatInput = number | string | Date;

onDrillDown?: (date: Date, view: View) => void;
onSelectSlot?: (slotInfo: {
start: stringOrDate;
end: stringOrDate;
slots: Date[] | string[];
action: 'select' | 'click' | 'doubleClick';
}) => void;
onSelectSlot?: (slotInfo: SlotInfo) => void;
onDoubleClickEvent?: (event: TEvent, e: React.SyntheticEvent<HTMLElement>) => void;

@@ -311,0 +313,0 @@ onSelectEvent?: (event: TEvent, e: React.SyntheticEvent<HTMLElement>) => void;

{
"name": "@types/react-big-calendar",
"version": "0.31.0",
"version": "0.31.1",
"description": "TypeScript definitions for react-big-calendar",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-big-calendar",
"license": "MIT",

@@ -110,4 +111,4 @@ "contributors": [

},
"typesPublisherContentHash": "767e268a1a49bdf2509e328b077a1c11a147b8b0ea1889a20c348f8cb7b92d02",
"typeScriptVersion": "3.5"
"typesPublisherContentHash": "0981dcb8de01661d17c33fef608a87dbef40b0e56c5924d15b9a76b03fe8b22f",
"typeScriptVersion": "3.6"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Thu, 01 Apr 2021 07:31:11 GMT
* Last updated: Wed, 02 Jun 2021 19:01:34 GMT
* Dependencies: [@types/prop-types](https://npmjs.com/package/@types/prop-types), [@types/react](https://npmjs.com/package/@types/react)

@@ -14,0 +14,0 @@ * Global values: none

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc