Exciting news!Announcing our $4.6M Series Seed. Learn more
Socket
LoveBlogFAQ
Install
Log in

@betterthings/scissors

Package Overview
Dependencies
1
Maintainers
2
Versions
7
Issues
File Explorer

Advanced tools

@betterthings/scissors

handy image cropper with focus point editor

    0.0.7latest

Version published
Maintainers
2
Yearly downloads
7,305
increased by20.56%

Weekly downloads

Changelog

Source

James Bond

Readme

Source

Scissors by Better Things Digital

Dependencies

You need to install react and immutable yourself.

Example

import { Scissors, ScissorsState } from '@betterthings/scissors' class App extends React.Component { constructor(props) { super(props) this.state = { scissorsState: new ScissorsState({ imageUrl: '/path/to/img.jpg' }), } this.onScissorsChange = this.onScissorsChange.bind(this) } onScissorsChange(scissorsState) { this.setState({ scissorsState }) } render() { return ( <Scissors scissors={this.state.scissorsState} onChange={this.onScissorsChange} /> ) } }

Keywords

Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc