@adeyahya/rrp
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

React Responsive Image

Installation

yarn add @adeyahya/rrp

# or

npm install @adeyahya/rrp --save

Usage

import * as React from 'react';
import * as ReactDOM from 'react-dom';
import { Provider, ResponsiveImage } from '../.';

const App = () => {
  return (
    <Provider>
      <ResponsiveImage src="https://res.cloudinary.com/dt2mntbmf/image/upload/v1597818712/image-20200819133002593_qqtn6b.png">
        <img width="100%" />
      </ResponsiveImage>
    </Provider>
  );
};

ReactDOM.render(<App />, document.getElementById('root'));

license

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @adeyahya/rrp

Weekly Downloads

0

Version

0.2.0

License

MIT

Unpacked Size

27 kB

Total Files

20

Last publish

Collaborators

  • adeyahya