1.0.13 • Published 2 years ago

react-image-height-width-resizer v1.0.13

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

DEMO

Demo react-image-height-width-resizer

Install Package

npm i react-image-height-width-resizer

Features

You can resize image height width inline using mouse drag.

Example

react-richtextbox

import  *  as  React  from  'react';
import  './style.css';
import  ImageResizer  from  'react-image-height-width-resizer';

  

export  default  function  App() {
	return (
			<>
				<ImageResizer 
					src={"https://img.freepik.com/free-photo/painting-mountain-lake-with-mountain-background_188544-9126.jpg?w=2000"}
					height={200} //optinal default 100
					width={400} //optinal default 100
					className={'image'} // optinal
					onClick={(e) => {
					console.log('Image click')
				}}
				/>
			</>		
	
		);

}
1.0.13

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago