resizable handle not displayed
jjzjx118 opened this issue · comments
Please select the type of issue you're reporting. For questions.
- Bug
resizable handle not displayed
demo on https://stackblitz.com/
import React from 'react';
import Draggable, { DraggableCore } from 'react-draggable';
import { Resizable, ResizableBox } from 'react-resizable';
import './style.css';
import 'react-resizable/css/style.css'
export default function App() {
return (
<div>
<Draggable>
<ResizableBox handle={<div />} width={200} height={200}>
<div
style={{ backgroundColor: 'green', width: '100%', height: '100%' }}
>
123
</div>
</ResizableBox>
</Draggable>
</div>
);
}