@hawk-ui/resizable
v4.4.4
Published
hawk-ui: Resizable Component
Downloads
304
Maintainers
Readme
Installation
To install a component run
$ npm install @hawk-ui/resizable --save
Please import CSS styles via
@import '/path__to__node_modules/@hawk-ui/resizable/dist/index.min.css
Usage
Draggable And Resizable
import Resizable from '@hawk-ui/resizable';
<div style={{ position: 'relative' }}>
<Resizable
config={{
id: 'resizable',
width: '350px',
height: '100px',
}}
>
<div id="resizable">
<p>Move</p>
<p>this</p>
<p>DIV</p>
</div>
</Resizable>
</div>