2.0.10 • Published 5 years ago

reactisizer v2.0.10

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

Reactisizer

Installation

npm install --save reactisizer`

Usage

import React, { Component } from 'react'
import Reactisizer from 'reactisizer'

...
  render() {
    const {width, top, left, height} = this.state
    return (
        <Reactisizer
          left={left}
          top={top}
          width={width}
          height={height}
          aspectRatio={16 / 9}
          zoomable='n, w, s, e, nw, ne, se, sw'
          // onResizeStart={this.handleResizeStart}
          onResize={this.handleResize}
          // onResizeEnd={this.handleUp}
          // onDragStart={this.handleDragStart}
          onDrag={this.handleDrag}
          // onDragEnd={this.handleDragEnd}
        />
    )
...
2.0.10

5 years ago

2.0.9

5 years ago

2.0.8

5 years ago

2.0.7

5 years ago

2.0.6

5 years ago