Skip to content

Commit

Permalink
feat: new stories
Browse files Browse the repository at this point in the history
  • Loading branch information
banklesss committed Jun 21, 2022
1 parent 50c1e78 commit e361351
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/LanguagePicker/LanguagePicker.stories.tsx
@@ -0,0 +1,6 @@
import {storiesOf} from '@storybook/react-native'
import React from 'react'

import {LanguagePicker} from './LanguagePicker'

storiesOf('LanguagePicker', module).add('Default', () => <LanguagePicker />)
@@ -0,0 +1,6 @@
import {storiesOf} from '@storybook/react-native'
import React from 'react'

import {LanguagePickerWarning} from './LanguagePickerWarning'

storiesOf('LanguagePickerWarning', module).add('Enabled', () => <LanguagePickerWarning enabled />)
4 changes: 4 additions & 0 deletions storybook/storyLoader.js
Expand Up @@ -85,6 +85,8 @@ function loadStories() {
require('../src/components/ErrorBoundary/ErrorBoundary.stories');
require('../src/components/ErrorModal/ErrorModal.stories');
require('../src/components/Icon/Icon.stories');
require('../src/components/LanguagePicker/LanguagePicker.stories');
require('../src/components/LanguagePicker/LanguagePickerWarning.stories');
require('../src/components/Link/Link.stories');
require('../src/components/Modal/Modal.stories');
require('../src/components/StandardModal/StandardModal.stories');
Expand Down Expand Up @@ -174,6 +176,8 @@ const stories = [
'../src/components/ErrorBoundary/ErrorBoundary.stories',
'../src/components/ErrorModal/ErrorModal.stories',
'../src/components/Icon/Icon.stories',
'../src/components/LanguagePicker/LanguagePicker.stories',
'../src/components/LanguagePicker/LanguagePickerWarning.stories',
'../src/components/Link/Link.stories',
'../src/components/Modal/Modal.stories',
'../src/components/StandardModal/StandardModal.stories',
Expand Down

0 comments on commit e361351

Please sign in to comment.