@adeyahya/rrp
v0.2.0
Published
## Installation
Downloads
6
Readme
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