1.0.7 • Published 4 years ago

react-image-hotspot v1.0.7

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

react-image-hotspot

This is a small library providing functionality to create hotspots on an image. Demo

Installation

yarn add react-image-hotspot

Getting started

Simply import and use the ImgaeHotspot component

import { ImageHotspot } from 'react-image-hotspot';

const App = () => {
  const [value, setValue] = React.useState([]);

  return (
    <ImageHotspot
      src="https://...image"
      value={value}
      onChange={setValue}
    />
  );
}
1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago