1.0.1 • Published 4 years ago
react-native-picture v1.0.1
react-native-picture
This component simplifies displaying a picture in React-Native.
Installation
$ yarn add react-native-picture
or
$ npm i --save react-native-picture
Usage
import Picture from 'react-native-picture'
<Picture
radius={200}
source={require(path/to/picture})} // or source={uri: "url.picture.com"}}
/>
Props
Prop | Description | Default |
---|---|---|
radius | The radius of the of the circle | number |
source | Source of the image. | ImageSourcePropType |
style | Style prop | _ViewStyle_ |