1.0.1 • Published 4 years ago

react-native-picture v1.0.1

Weekly downloads
3
License
ISC
Repository
github
Last release
4 years ago

react-native-picture

This component simplifies displaying a picture in React-Native.

Example

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

PropDescriptionDefault
radiusThe radius of the of the circlenumber
sourceSource of the image.ImageSourcePropType
styleStyle prop_ViewStyle_