@ticmakers-react-native/image
v1.0.2
Published
TIC Makers - React Native Image
Downloads
158
Maintainers
Readme
TIC Makers - React Native Image
React native component for image.
Powered by TIC Makers
Demo
Install
Install @ticmakers-react-native/image
package and save into package.json
:
NPM
$ npm install @ticmakers-react-native/image --save
Yarn
$ yarn add @ticmakers-react-native/image
How to use?
import React from 'react'
import Image from '@ticmakers-react-native/image'
export default class App extends React.Component {
render() {
return (
<Image source={{ uri: 'http://example.com/assets/pic.jpg' }} />
// OR
<Image source={ require('./assets/profile.png.') } />
)
}
}
Properties
| Name | Type | Default Value | Definition | | ---- | ---- | ------------- | ---------- | | source | - | - | -
Todo
- Test on iOS
- Improve and add new features
- Improve readme
- Create tests