summaryrefslogtreecommitdiff
path: root/storybook/storybook.tsx
diff options
context:
space:
mode:
authorKirill Rogovoy <[email protected]>2021-07-19 20:06:08 +0300
committerKirill Rogovoy <[email protected]>2021-07-19 20:06:08 +0300
commitf0bf4e7afdcd8b02a62be45ab3e7d047ed865a79 (patch)
tree575c0ff2cbb846252bd2e494c81c396846aab2f6 /storybook/storybook.tsx
parent67ad38d0a7cd319623e9f41c0c381ed5c5f6f973 (diff)
Apply Prettier
Diffstat (limited to 'storybook/storybook.tsx')
-rw-r--r--storybook/storybook.tsx17
1 files changed, 9 insertions, 8 deletions
diff --git a/storybook/storybook.tsx b/storybook/storybook.tsx
index 0479d4e..c48e3ef 100644
--- a/storybook/storybook.tsx
+++ b/storybook/storybook.tsx
@@ -1,26 +1,27 @@
-import React, { useEffect } from "react"
-import { getStorybookUI, configure } from "@storybook/react-native"
-import { initFonts } from "../app/theme/fonts"
+import React, { useEffect } from 'react'
+import { getStorybookUI, configure } from '@storybook/react-native'
+import { initFonts } from '../app/theme/fonts'
declare let module
configure(() => {
- require("./storybook-registry")
+ require('./storybook-registry')
}, module)
const StorybookUI = getStorybookUI({
port: 9001,
- host: "localhost",
+ host: 'localhost',
onDeviceUI: true,
- asyncStorage: require("@react-native-async-storage/async-storage").default || null,
+ asyncStorage:
+ require('@react-native-async-storage/async-storage').default || null,
})
export function StorybookUIRoot() {
useEffect(() => {
;(async () => {
await initFonts() // expo only
- if (typeof __TEST__ === "undefined" || !__TEST__) {
- const Reactotron = require("../app/services/reactotron")
+ if (typeof __TEST__ === 'undefined' || !__TEST__) {
+ const Reactotron = require('../app/services/reactotron')
const reactotron = new Reactotron.Reactotron()
reactotron.setup()
}