forked from microsoft/BotFramework-WebChat
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add more types checks -- NOT PASSING
- Loading branch information
Showing
8 changed files
with
80 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { Components } from '../../../packages/bundle/lib/index'; | ||
|
||
function main() { | ||
const { SendTextBox } = Components; | ||
|
||
return <SendTextBox />; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import Composer from '../../../packages/component/lib/Composer'; | ||
|
||
function main() { | ||
return <Composer dir='rtl' />; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import Composer from '../../../packages/component/lib/Composer'; | ||
import createDirectLine from '../../../packages/bundle/lib/createDirectLine'; | ||
|
||
function main() { | ||
const directLine = createDirectLine({ token: 'faketoken'}); | ||
|
||
return <Composer directLine={directLine} />; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import ReactWebChat from '../../../packages/bundle/lib/index'; | ||
import createDirectLine from '../../../packages/bundle/lib/createDirectLine'; | ||
|
||
function main() { | ||
const directLine = createDirectLine({ token: 'faketoken'}); | ||
|
||
return <ReactWebChat directLine={directLine} />; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import Composer from '../../../packages/component/lib/Composer'; | ||
import createStore from '../../../packages/core/lib/createStore'; | ||
|
||
function main() { | ||
const store = createStore({}); | ||
|
||
return <Composer store={store} />; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import ReactWebChat from '../../../packages/bundle/lib/index'; | ||
import createStore from '../../../packages/core/lib/createStore'; | ||
|
||
function main() { | ||
const store = createStore({}); | ||
|
||
return <ReactWebChat store={store} />; | ||
} |
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