1.0.35 • Published 2 years ago

@deyvis17gy/atom-img v1.0.35

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@deyvis17gy/atom-img

image preloading for slow or large connections

NPM JavaScript Style Guide

Install

npm install --save @deyvis17gy/atom-img
yarn install @deyvis17gy/atom-img

Live Demo: Storybook

Usage

import React from 'react';

import { Picture } from '@deyvis17gy/atom-img';
import '@deyvis17gy/atom-img/dist/index.css';

const App = () => {
  return (
    <Picture
      className='picture'
      alt='image'
      url='example.png'
      loaderUrl='loaderExample.png'
      isBorderRadius={true}
      isLazy={true}
      onClick={() => console.log('click')}
    />
  );
};

License

MIT © Deyvis17GY

1.0.33

2 years ago

1.0.35

2 years ago

1.0.34

2 years ago

1.0.32

3 years ago

1.0.31

3 years ago

1.0.30

3 years ago

1.0.29

3 years ago

1.0.28

3 years ago

1.0.27

3 years ago

1.0.26

3 years ago

1.0.25

3 years ago

1.0.24

3 years ago

1.0.23

3 years ago

1.0.22

3 years ago

1.0.21

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago