1.0.7 • Published 3 years ago

react-image-hotspot v1.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
3 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

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago