JSPM

@ticmakers-react-native/image

1.0.2
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 4
    • Score
      100M100P100Q28045F
    • License BSD-3-Clause

    TIC Makers - React Native Image

    Package Exports

    • @ticmakers-react-native/image

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@ticmakers-react-native/image) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    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)