Skip to content

Commit

Permalink
Fix issue fkhadra#176
Browse files Browse the repository at this point in the history
  • Loading branch information
fkhadra committed May 2, 2018
1 parent bf80e38 commit b09d120
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion dist/ReactToastify.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/ReactToastify.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ interface Toast {
};
}

export class ToastContainer extends React.Component<ToastContainerProps> {}
export class ToastContainer extends React.Component<ToastContainerProps, any> {}

/**
* Helper to build custom entrance and exit transition
Expand Down
8 changes: 4 additions & 4 deletions src/__tests__/__snapshots__/ProgressBar.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ ShallowWrapper {
},
Symbol(enzyme.__node__): Object {
"instance": null,
"key": null,
"key": undefined,
"nodeType": "host",
"props": Object {
"className": "Toastify__progress-bar Toastify__progress-bar--default",
Expand All @@ -39,7 +39,7 @@ ShallowWrapper {
Symbol(enzyme.__nodes__): Array [
Object {
"instance": null,
"key": null,
"key": undefined,
"nodeType": "host",
"props": Object {
"className": "Toastify__progress-bar Toastify__progress-bar--default",
Expand Down Expand Up @@ -86,7 +86,7 @@ ShallowWrapper {
},
Symbol(enzyme.__node__): Object {
"instance": null,
"key": null,
"key": undefined,
"nodeType": "host",
"props": Object {
"className": "Toastify__progress-bar Toastify__progress-bar--default",
Expand All @@ -104,7 +104,7 @@ ShallowWrapper {
Symbol(enzyme.__nodes__): Array [
Object {
"instance": null,
"key": null,
"key": undefined,
"nodeType": "host",
"props": Object {
"className": "Toastify__progress-bar Toastify__progress-bar--default",
Expand Down
16 changes: 8 additions & 8 deletions src/__tests__/__snapshots__/Toast.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ ShallowWrapper {
},
Symbol(enzyme.__node__): Object {
"instance": null,
"key": null,
"key": undefined,
"nodeType": "function",
"props": Object {
"appear": true,
Expand Down Expand Up @@ -76,7 +76,7 @@ ShallowWrapper {
"ref": null,
"rendered": Object {
"instance": null,
"key": null,
"key": undefined,
"nodeType": "host",
"props": Object {
"children": Array [
Expand All @@ -101,7 +101,7 @@ ShallowWrapper {
"rendered": Array [
Object {
"instance": null,
"key": null,
"key": undefined,
"nodeType": "host",
"props": Object {
"children": "FooBar",
Expand All @@ -114,7 +114,7 @@ ShallowWrapper {
},
Object {
"instance": null,
"key": null,
"key": undefined,
"nodeType": "function",
"props": Object {
"ariaLabel": "close",
Expand All @@ -132,7 +132,7 @@ ShallowWrapper {
Symbol(enzyme.__nodes__): Array [
Object {
"instance": null,
"key": null,
"key": undefined,
"nodeType": "function",
"props": Object {
"appear": true,
Expand Down Expand Up @@ -162,7 +162,7 @@ ShallowWrapper {
"ref": null,
"rendered": Object {
"instance": null,
"key": null,
"key": undefined,
"nodeType": "host",
"props": Object {
"children": Array [
Expand All @@ -187,7 +187,7 @@ ShallowWrapper {
"rendered": Array [
Object {
"instance": null,
"key": null,
"key": undefined,
"nodeType": "host",
"props": Object {
"children": "FooBar",
Expand All @@ -200,7 +200,7 @@ ShallowWrapper {
},
Object {
"instance": null,
"key": null,
"key": undefined,
"nodeType": "function",
"props": Object {
"ariaLabel": "close",
Expand Down

0 comments on commit b09d120

Please sign in to comment.