Skip to content

Commit 54a8518

Browse files
authoredAug 15, 2023
chore(examples): add missing draggableOpts={{...}} example (#227)
1 parent afd7ef2 commit 54a8518

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ import { ResizableBox } from 'react-resizable';
7777
class Example extends React.Component {
7878
render() {
7979
return (
80-
<ResizableBox width={200} height={200} draggableOpts={{...}}
80+
<ResizableBox width={200} height={200} draggableOpts={{grid: [25, 25]}}
8181
minConstraints={[100, 100]} maxConstraints={[300, 300]}>
8282
<span>Contents</span>
8383
</ResizableBox>

0 commit comments

Comments
 (0)
Please sign in to comment.