react-native-picture
v1.0.1
Published
Cusomizable React native avatar component
Maintainers
Readme
react-native-picture
This component simplifies displaying a picture in React-Native.

Installation
$ yarn add react-native-picture
or
$ npm i --save react-native-pictureUsage
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_ |
