diff --git a/apps/wallet/src/components/TextInput/TextInput.stories.tsx b/apps/wallet/src/components/TextInput/TextInput.stories.tsx deleted file mode 100644 index 7b862596b6..0000000000 --- a/apps/wallet/src/components/TextInput/TextInput.stories.tsx +++ /dev/null @@ -1,99 +0,0 @@ -import {action} from '@storybook/addon-actions' -import {storiesOf} from '@storybook/react-native' -import React from 'react' -import {Platform, StyleSheet, View} from 'react-native' - -import {Checkmark, TextInput} from './TextInput' - -const styles = StyleSheet.create({ - container: { - flex: 1, - padding: 16, - }, -}) - -storiesOf('TextInput', module) - .addDecorator((story) => {story()}) - .add('with label', () => ( - - )) - .add('secure entry', () => ( - - )) - .add('secure entry, with checkmark', () => ( - } - secureTextEntry - keyboardType={Platform.OS === 'ios' ? 'default' : 'visible-password'} - onChangeText={action('onChangeText')} - autoComplete="off" - /> - )) - .add('with error', () => ( - - )) - .add('with error, with label', () => ( - - )) - .add('numeric entry', () => ( - - )) - .add('prefilled', () => ( - - )) - .add('disabled', () => ( - - )) - .add('with helper text', () => ( - - )) - .add('with helper text and error text', () => ( - - )) diff --git a/apps/wallet/src/features/Claim/illustrations/Ilustrations.stories.tsx b/apps/wallet/src/features/Claim/illustrations/Ilustrations.stories.tsx deleted file mode 100644 index 704a81d3c0..0000000000 --- a/apps/wallet/src/features/Claim/illustrations/Ilustrations.stories.tsx +++ /dev/null @@ -1,8 +0,0 @@ -import {storiesOf} from '@storybook/react-native' -import React from 'react' - -import {ClaimSuccessIllustration} from './ClaimSuccessIllustration' - -storiesOf('Claim Illustrations Gallery', module).add('Claim request success', () => { - return -}) diff --git a/apps/wallet/src/features/Links/useCases/RequestedAdaPaymentWithLinkScreen/ShowDisclaimer/ShowDisclaimer.stories.tsx b/apps/wallet/src/features/Links/useCases/RequestedAdaPaymentWithLinkScreen/ShowDisclaimer/ShowDisclaimer.stories.tsx deleted file mode 100644 index 65266d9eba..0000000000 --- a/apps/wallet/src/features/Links/useCases/RequestedAdaPaymentWithLinkScreen/ShowDisclaimer/ShowDisclaimer.stories.tsx +++ /dev/null @@ -1,20 +0,0 @@ -import {storiesOf} from '@storybook/react-native' -import * as React from 'react' -import {StyleSheet, View} from 'react-native' - -import {ShowDisclaimer} from './ShowDisclaimer' - -storiesOf('Links ShowDisclaimer', module) - .addDecorator((story) => {story()}) - .add('initial', () => ( - - <> - - )) - -const styles = StyleSheet.create({ - container: { - flex: 1, - padding: 16, - }, -}) diff --git a/apps/wallet/src/features/Links/useCases/RequestedBrowserLaunchDappUrlScreen/ShowDisclaimer/ShowDisclaimer.stories.tsx b/apps/wallet/src/features/Links/useCases/RequestedBrowserLaunchDappUrlScreen/ShowDisclaimer/ShowDisclaimer.stories.tsx deleted file mode 100644 index 65266d9eba..0000000000 --- a/apps/wallet/src/features/Links/useCases/RequestedBrowserLaunchDappUrlScreen/ShowDisclaimer/ShowDisclaimer.stories.tsx +++ /dev/null @@ -1,20 +0,0 @@ -import {storiesOf} from '@storybook/react-native' -import * as React from 'react' -import {StyleSheet, View} from 'react-native' - -import {ShowDisclaimer} from './ShowDisclaimer' - -storiesOf('Links ShowDisclaimer', module) - .addDecorator((story) => {story()}) - .add('initial', () => ( - - <> - - )) - -const styles = StyleSheet.create({ - container: { - flex: 1, - padding: 16, - }, -}) diff --git a/apps/wallet/src/features/Send/common/ButtonGroup/ButtonGroup.stories.tsx b/apps/wallet/src/features/Send/common/ButtonGroup/ButtonGroup.stories.tsx deleted file mode 100644 index 19120deb50..0000000000 --- a/apps/wallet/src/features/Send/common/ButtonGroup/ButtonGroup.stories.tsx +++ /dev/null @@ -1,41 +0,0 @@ -import {action} from '@storybook/addon-actions' -import {storiesOf} from '@storybook/react-native' -import React from 'react' -import {StyleSheet, View} from 'react-native' - -import {ButtonGroup} from './ButtonGroup' - -const WithInitial = ({initial}: {initial: number}) => { - const handleActive = (index: number, label: string) => { - action(`onSelect ${index}:${label}`) - } - return ( - - labels={['label1', 'label2']} onSelect={handleActive} initial={initial} /> - - ) -} - -const NoInitial = () => { - const handleActive = (index: number, label: string) => { - action(`onSelect ${index}:${label}`) - } - return ( - - labels={Array.from({length: 10}, () => Math.random().toString())} onSelect={handleActive} /> - - ) -} - -storiesOf('Send ButtonGroup', module) - .addDecorator((story) => {story()}) - .add('label 1 inital', () => ) - .add('label 2 initial', () => ) - .add('many options', () => ) - -const styles = StyleSheet.create({ - container: { - flex: 1, - padding: 16, - }, -}) diff --git a/apps/wallet/src/features/Swap/common/AmountCard/AmountCard.stories.tsx b/apps/wallet/src/features/Swap/common/AmountCard/AmountCard.stories.tsx deleted file mode 100644 index 40a1385969..0000000000 --- a/apps/wallet/src/features/Swap/common/AmountCard/AmountCard.stories.tsx +++ /dev/null @@ -1,41 +0,0 @@ -import {storiesOf} from '@storybook/react-native' -import {tokenInfoMocks} from '@yoroi/portfolio' -import React from 'react' -import {StyleSheet, View} from 'react-native' - -import {mocks} from '../../../../yoroi-wallets/mocks/wallet' -import {AmountCard} from './AmountCard' - -const styles = StyleSheet.create({ - container: { - flex: 1, - padding: 16, - }, -}) - -storiesOf('Amount Card', module) - .addDecorator((story) => {story()}) - .add('with label', () => ( - - )) - .add('with error', () => ( - - ))