-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from minimalchat/start-closed
Add open/close to header + replace icons
- Loading branch information
Showing
9 changed files
with
35 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`<App /> matches snapshot 1`] = `"<div class=\\"mnml--messenger open\\"><section class=\\"Chat--messenger\\"><header class=\\"Header--messenger\\"><span class=\\"Header__title--messenger\\">Chat with John</span><button class=\\"Header__closeBtn--messenger\\">×</button></header><ul class=\\"Chat__body--messenger\\"></ul><form class=\\"Input__form--messenger\\"><input class=\\"Input--messenger\\" placeholder=\\"Type Here\\" name=\\"messages\\" value /></form></section></div>"`; | ||
exports[`<App /> matches snapshot 1`] = `"<div class=\\"mnml--messenger closed\\"><header class=\\"Header--messenger\\"><span class=\\"Header__title--messenger\\">Chat with John</span><button class=\\"Header__closeBtn--messenger\\"><span>⬆</span></button></header></div>"`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`<Chat /> matches snapshot 1`] = `"<section class=\\"Chat--undefined\\"><header class=\\"Header--undefined\\"><span class=\\"Header__title--undefined\\">Chat with John</span><button class=\\"Header__closeBtn--undefined\\">×</button></header><section class=\\"Notification__undefined-undefined\\"></section><ul class=\\"Chat__body--undefined\\"></ul><form class=\\"Input__form--undefined\\"><input class=\\"Input--undefined\\" placeholder=\\"Type Here\\" name=\\"messages\\" /></form></section>"`; | ||
exports[`<Chat /> matches snapshot 1`] = `"<section class=\\"Chat--undefined\\"><header class=\\"Header--undefined\\"><span class=\\"Header__title--undefined\\">Chat with John</span><button class=\\"Header__closeBtn--undefined\\"><span>⬆</span></button></header><header class=\\"Header--undefined\\"><span class=\\"Header__title--undefined\\">Chat with John</span><button class=\\"Header__closeBtn--undefined\\"><span>⬆</span></button></header><section class=\\"Notification__undefined-undefined\\"></section><ul class=\\"Chat__body--undefined\\"></ul><form class=\\"Input__form--undefined\\"><input class=\\"Input--undefined\\" placeholder=\\"Type Here\\" name=\\"messages\\" /></form></section>"`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`<ClosedState /> matches snapshot 1`] = `"<header class=\\"Header--undefined\\"><span class=\\"Header__title--undefined\\">Chat with John</span><button class=\\"Header__closeBtn--undefined\\">×</button></header>"`; | ||
exports[`<ClosedState /> matches snapshot 1`] = `"<header class=\\"Header--undefined\\"><span class=\\"Header__title--undefined\\">Chat with John</span><button class=\\"Header__closeBtn--undefined\\"><span>⬆</span></button></header>"`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`<Header /> should render 1`] = `"<header class=\\"Header--undefined\\"><span class=\\"Header__title--undefined\\">Chat with John</span><button class=\\"Header__closeBtn--undefined\\">×</button></header>"`; | ||
exports[`<Header /> should render 1`] = `"<header class=\\"Header--undefined\\"><span class=\\"Header__title--undefined\\">Chat with John</span><button class=\\"Header__closeBtn--undefined\\"><span>⬆</span></button></header>"`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters