Skip to content

isabella232/react-resize-box

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-resize-box

import ResizeBox from 'react-resize-box';

<ResizeBox
  style={{ width: 400, height: 400 }}
  box={{ top: 10, left: 20, width: 200, height: 200 }}
>
  <img
    src="https://swiftcarrot.com/static/service-enterprise@2x.png"
    style={{
      width: '100%',
      height: '100%',
      objectFit: 'cover',
      userSelect: 'none',
      webkitUserDrag: 'none'
    }}
  />
</ResizeBox>;

About

No description, website, or topics provided.

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%