@ticmakers-react-native/image

1.0.2 • Public • Published

TIC Makers - React Native Image

React native component for image.

Powered by TIC Makers

Demo

Image Expo's snack

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

Version 1.0.2 (Changelog)

Package Sidebar

Install

npm i @ticmakers-react-native/image

Weekly Downloads

14

Version

1.0.2

License

BSD-3-Clause

Unpacked Size

473 kB

Total Files

50

Last publish

Collaborators

  • ticmakers