@types/react-notifications-component
Advanced tools
Comparing version
@@ -7,3 +7,3 @@ // Type definitions for react-notifications-component 3.1 | ||
import * as React from 'react'; | ||
import * as React from "react"; | ||
@@ -31,5 +31,14 @@ export default class extends React.Component<ReactNotificationProps> {} | ||
content?: React.ComponentClass | React.FunctionComponent | React.ReactNode | undefined; | ||
type?: 'success' | 'danger' | 'info' | 'default' | 'warning' | undefined; | ||
container: 'top-full' | 'top-left' | 'top-right' | 'top-center' | 'center' | 'bottom-full' | 'bottom-left' | 'bottom-right' | 'bottom-center'; | ||
insert?: 'top' | 'bottom' | undefined; | ||
type?: "success" | "danger" | "info" | "default" | "warning" | undefined; | ||
container: | ||
| "top-full" | ||
| "top-left" | ||
| "top-right" | ||
| "top-center" | ||
| "center" | ||
| "bottom-full" | ||
| "bottom-left" | ||
| "bottom-right" | ||
| "bottom-center"; | ||
insert?: "top" | "bottom" | undefined; | ||
dismiss?: DismissOptions | undefined; | ||
@@ -50,3 +59,3 @@ animationIn?: string[] | undefined; | ||
duration?: number | undefined; | ||
timingFunction?: 'ease' | 'linear' | 'ease-in' | 'ease-out' | 'ease-in-out' | 'step-start' | 'step-end' | undefined; | ||
timingFunction?: "ease" | "linear" | "ease-in" | "ease-out" | "ease-in-out" | "step-start" | "step-end" | undefined; | ||
delay?: number | undefined; | ||
@@ -53,0 +62,0 @@ } |
{ | ||
"name": "@types/react-notifications-component", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"description": "TypeScript definitions for react-notifications-component", | ||
@@ -30,4 +30,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-notifications-component", | ||
}, | ||
"typesPublisherContentHash": "d56a628ef4296300d670f5e396be184b7191e099872db8485b2536617c4e4c81", | ||
"typeScriptVersion": "3.6" | ||
"typesPublisherContentHash": "97e679660e29c90cf465993a11119a8a3ba1295d387912c353f2eed562a7b9fa", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -17,3 +17,3 @@ # Installation | ||
import * as React from 'react'; | ||
import * as React from "react"; | ||
@@ -41,5 +41,14 @@ export default class extends React.Component<ReactNotificationProps> {} | ||
content?: React.ComponentClass | React.FunctionComponent | React.ReactNode | undefined; | ||
type?: 'success' | 'danger' | 'info' | 'default' | 'warning' | undefined; | ||
container: 'top-full' | 'top-left' | 'top-right' | 'top-center' | 'center' | 'bottom-full' | 'bottom-left' | 'bottom-right' | 'bottom-center'; | ||
insert?: 'top' | 'bottom' | undefined; | ||
type?: "success" | "danger" | "info" | "default" | "warning" | undefined; | ||
container: | ||
| "top-full" | ||
| "top-left" | ||
| "top-right" | ||
| "top-center" | ||
| "center" | ||
| "bottom-full" | ||
| "bottom-left" | ||
| "bottom-right" | ||
| "bottom-center"; | ||
insert?: "top" | "bottom" | undefined; | ||
dismiss?: DismissOptions | undefined; | ||
@@ -60,3 +69,3 @@ animationIn?: string[] | undefined; | ||
duration?: number | undefined; | ||
timingFunction?: 'ease' | 'linear' | 'ease-in' | 'ease-out' | 'ease-in-out' | 'step-start' | 'step-end' | undefined; | ||
timingFunction?: "ease" | "linear" | "ease-in" | "ease-out" | "ease-in-out" | "step-start" | "step-end" | undefined; | ||
delay?: number | undefined; | ||
@@ -78,3 +87,3 @@ } | ||
### Additional Details | ||
* Last updated: Thu, 08 Jul 2021 22:41:23 GMT | ||
* Last updated: Wed, 27 Sep 2023 07:12:04 GMT | ||
* Dependencies: [@types/react](https://npmjs.com/package/@types/react) | ||
@@ -81,0 +90,0 @@ * Global values: none |
8024
1.88%62
16.98%90
11.11%