1.0.2 • Published 1 year ago

@sobierajb/resizable-div v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

This is a standard div with the added functionality of resizing in each direction. All attributes of the div are passed down. Only width, height, and cursor style properties are overwritten inside the component. The rest of the styling parameters are up to you. To use it: To use it:

  • npm i @sobierajb/resizable-div
  • import ResizableDiv from "@sobierajb/resizable-div"

The component has two additional parameters:

  • lockResize: This property disables resizing functionality.
  • edgeSize: This property describes how big the detectable edge is.

Have fun ;) BS

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago