Socket
Book a DemoInstallSign in
Socket

sppro-image-annote

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sppro-image-annote

Image Annotation in React

1.0.4
latest
Source
npmnpm
Version published
Weekly downloads
5
Maintainers
1
Weekly downloads
 
Created
Source

sppro-image-annote

Image Annotation in React

Live Demo: https://sharepointpro.github.io/sppro-image-annote/

Screenshot: Screen shot

NPM JavaScript Style Guide

Install

npm install --save sppro-image-annote

Usage

import React, { Component } from 'react'

import SpproImageAnnote from 'sppro-image-annote'

class Example extends Component {
  render () {
    return (
         <SpproImageAnnote url={roomImage} onSave={this.onSave} />
    )
  }
}

API

onSave : Return Base64 of edited image

url: URL of the image to be edited

Style overrides

Add the below style classes to your project to override default
.sppro-overlay //Background overlay styles
.sppro-toolbar //Toolbar styles

Special thanks

Thanks to https://konvajs.org/ for the great library

Dependencies

konva,
react-konva,
@fortawesome/fontawesome-svg-core,
@fortawesome/free-solid-svg-iconsm,
@fortawesome/react-fontawesome,
react-color

License

MIT © SharePointPro

Simple react Image annotation library

744d6d373bd04f60d6f5be6339db61f68586ff6e

FAQs

Package last updated on 18 Oct 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.