Skip to content

Commit

Permalink
feat: export preview for extendability (#312)
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyhw authored Jan 8, 2022
1 parent b4f4cbb commit 6a737a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/react-native/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { ClientApi } from '@storybook/client-api';
import { ReactNode } from 'react';
import Preview from './preview';

const preview = new Preview();
export const preview = new Preview();

const rawStoriesOf: ClientApi['storiesOf'] = preview.api().storiesOf.bind(preview);
export const setAddon: ClientApi['setAddon'] = preview.api().setAddon.bind(preview);
Expand Down

0 comments on commit 6a737a1

Please sign in to comment.