mirror of
https://github.com/zhigang1992/storybook-bug-reproduce.git
synced 2026-01-12 22:41:59 +08:00
14 lines
433 B
TypeScript
14 lines
433 B
TypeScript
import { configure, getStorybookUI } from "@storybook/react-native";
|
|
|
|
configure(() => {
|
|
// Since require.context doesn't exist in metro bundler world, we have to
|
|
// manually import files ending in *.stories.js
|
|
require("./stories");
|
|
}, module);
|
|
|
|
export default getStorybookUI({
|
|
// Pass AsyncStorage below if you want Storybook to open your
|
|
// last visited story after you close and re-open your app
|
|
asyncStorage: null
|
|
});
|