-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: eslint comment on test template
- Loading branch information
Filipe Pinheiro
committed
Jul 5, 2017
1 parent
6cec62a
commit cc90e21
Showing
5 changed files
with
52 additions
and
89 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,16 +1,16 @@ | ||
import { AppRegistry, NativeModules } from 'react-native'; | ||
import { getStorybookUI, configure } from '@storybook/react-native'; | ||
import { loadStories } from './story-loader'; | ||
import './addons'; | ||
import url from 'url'; | ||
import url from "url"; | ||
import { AppRegistry, NativeModules } from "react-native"; | ||
import { getStorybookUI, configure } from "@storybook/react-native"; | ||
import { loadStories } from "./story-loader"; | ||
import "./addons"; | ||
|
||
configure(loadStories, module); | ||
|
||
const { hostname } = url.parse(NativeModules.SourceCode.scriptURL); | ||
|
||
const StorybookUI = getStorybookUI({ | ||
port: 7007, | ||
host: hostname, | ||
host: hostname | ||
}); | ||
|
||
AppRegistry.registerComponent('storybooknative', () => StorybookUI); | ||
AppRegistry.registerComponent("storybooknative", () => StorybookUI); |
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,16 +1,16 @@ | ||
import { AppRegistry, NativeModules } from 'react-native'; | ||
import { getStorybookUI, configure } from '@storybook/react-native'; | ||
import { loadStories } from './story-loader'; | ||
import './addons'; | ||
import url from 'url'; | ||
import url from "url"; | ||
import { AppRegistry, NativeModules } from "react-native"; | ||
import { getStorybookUI, configure } from "@storybook/react-native"; | ||
import { loadStories } from "./story-loader"; | ||
import "./addons"; | ||
|
||
configure(loadStories, module); | ||
|
||
const { hostname } = url.parse(NativeModules.SourceCode.scriptURL); | ||
|
||
const StorybookUI = getStorybookUI({ | ||
port: 7007, | ||
host: hostname, | ||
host: hostname | ||
}); | ||
|
||
AppRegistry.registerComponent('storybooknative', () => StorybookUI); | ||
AppRegistry.registerComponent("storybooknative", () => StorybookUI); |
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
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