diff --git a/docs/stories/index.js b/docs/stories/index.js index e39f4d0..9010830 100644 --- a/docs/stories/index.js +++ b/docs/stories/index.js @@ -7,6 +7,6 @@ import { storiesOf } from '@storybook/react'; storiesOf('HTML source', module).add('basic', html.basic); -storiesOf('URI source', module).add('basic', uri.basic).add('onMessage', uri.onMessage); +storiesOf('URI source', module).add('basic', uri.basic).add('post message', uri.onMessage); storiesOf('With method', module).add('basic', method.basic); diff --git a/docs/stories/method.js b/docs/stories/method.js index 09ed1a6..a4624e5 100644 --- a/docs/stories/method.js +++ b/docs/stories/method.js @@ -3,10 +3,12 @@ import { WebView } from 'react-native-webview'; import { text } from '@storybook/addon-knobs'; export const basic = () => ( - +
+ +
); diff --git a/docs/stories/onMessage.html b/docs/stories/onMessage.html index e48f079..452f18e 100644 --- a/docs/stories/onMessage.html +++ b/docs/stories/onMessage.html @@ -1,6 +1,8 @@

Hello world!

+ +