Skip to content
This repository has been archived by the owner on May 31, 2021. It is now read-only.

Commit

Permalink
Remove unnecessary codes
Browse files Browse the repository at this point in the history
  • Loading branch information
jtchoi-sstk authored and JongtaekChoi committed Oct 30, 2020
1 parent 577882f commit 3c5a8cb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 122 deletions.
105 changes: 0 additions & 105 deletions packages/PinchZoom/utils.ts

This file was deleted.

17 changes: 0 additions & 17 deletions stories/dooboo-ui/PinchZoom.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,9 @@ import { Dimensions, Image, View } from 'react-native';

import { ContainerDeco } from '../../storybook/decorators';
import { ImageSlider } from '../../packages/PinchZoom/PinchZoom.example';
import PinchZoom from '../../packages/PinchZoom';
import React from 'react';
import { storiesOf } from '@storybook/react-native';

const imageSource = 'https://user-images.githubusercontent.com/17980230/95435131-29210280-098d-11eb-92e6-8b6dd49032b3.jpeg';

storiesOf('PinchZoom', module)
.addDecorator(ContainerDeco)
.add('Image', () => (
<View
style={{
width: '100%',
backgroundColor: '#f00',
overflow: 'hidden',
}}>
<PinchZoom style={{ width: '100%' }}>
<Image
source={{ uri: imageSource }}
style={{ width: '100%', height: Dimensions.get('screen').width * 4 / 3 }} />
</PinchZoom>
</View>
))
.add('Image slider', () => <ImageSlider />);

0 comments on commit 3c5a8cb

Please sign in to comment.