@types/react-notifications-component
Advanced tools
Comparing version
@@ -1,4 +0,5 @@ | ||
// Type definitions for react-notifications-component 2.4 | ||
// Type definitions for react-notifications-component 3.1 | ||
// Project: https://github.com/teodosii/react-notifications-component | ||
// Definitions by: Sarhad Salam <https://github.com/SarhadSalam> | ||
// Andrés Ignacio Torres <https://github.com/aitorres> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -30,3 +31,3 @@ | ||
type?: 'success' | 'danger' | 'info' | 'default' | 'warning'; | ||
container: 'top-left' | 'top-right' | 'top-center' | 'center' | 'bottom-left' | 'bottom-right' | 'bottom-center'; | ||
container: 'top-full' | 'top-left' | 'top-right' | 'top-center' | 'center' | 'bottom-full' | 'bottom-left' | 'bottom-right' | 'bottom-center'; | ||
insert?: 'top' | 'bottom'; | ||
@@ -39,3 +40,6 @@ dismiss?: DismissOptions; | ||
touchRevert?: TransitionOptions; | ||
touchSlidingExit?: TransitionOptions; | ||
touchSlidingExit?: { | ||
fade?: TransitionOptions; | ||
swipe?: TransitionOptions; | ||
}; | ||
width?: number; | ||
@@ -42,0 +46,0 @@ } |
{ | ||
"name": "@types/react-notifications-component", | ||
"version": "2.4.0", | ||
"version": "3.1.0", | ||
"description": "TypeScript definitions for react-notifications-component", | ||
@@ -11,2 +11,7 @@ "license": "MIT", | ||
"githubUsername": "SarhadSalam" | ||
}, | ||
{ | ||
"name": "Andrés Ignacio Torres", | ||
"url": "https://github.com/aitorres", | ||
"githubUsername": "aitorres" | ||
} | ||
@@ -25,4 +30,4 @@ ], | ||
}, | ||
"typesPublisherContentHash": "d9abf558b78ea6aed093f4735b4dcd7f4b2d33ed7a5f620baba37d40fea6866c", | ||
"typeScriptVersion": "3.0" | ||
"typesPublisherContentHash": "ca6588f4dfebba00e73d24c1c2f6f49f00b00d584af6fb8b89297091c8aa1a7a", | ||
"typeScriptVersion": "3.5" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 19 May 2020 21:28:20 GMT | ||
* Last updated: Fri, 02 Apr 2021 16:01:09 GMT | ||
* Dependencies: [@types/react](https://npmjs.com/package/@types/react) | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by [Sarhad Salam](https://github.com/SarhadSalam). | ||
These definitions were written by [Sarhad Salam](https://github.com/SarhadSalam), and [Andrés Ignacio Torres](https://github.com/aitorres). |
4813
8.5%53
8.16%