Files
react-native-web/docs/storybook/1-components/Image/examples/PropDraggable.js
2017-06-29 16:15:51 -07:00

27 lines
519 B
JavaScript

/**
* @flow
*/
import sources from '../sources';
import React from 'react';
import { Image, StyleSheet, View } from 'react-native';
const ImageDraggableExample = () =>
<View style={styles.container}>
<Image draggable={false} source={sources.large} style={styles.image} />
</View>;
const styles = StyleSheet.create({
container: {
flexDirection: 'row'
},
image: {
width: 60,
height: 60,
backgroundColor: 'transparent',
marginRight: 10
}
});
export default ImageDraggableExample;