Skip to content

Commit ead3474

Browse files
authored
Merge pull request #168 from billcz/master
defaultPosition => position
2 parents 4bba799 + 4fe858a commit ead3474

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Draggable.es6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export default class Draggable extends React.Component {
121121
* let App = React.createClass({
122122
* render: function () {
123123
* return (
124-
* <Draggable defaultPosition={{x: 25, y: 25}}>
124+
* <Draggable position={{x: 25, y: 25}}>
125125
* <div>I start with transformX: 25px and transformY: 25px;</div>
126126
* </Draggable>
127127
* );

0 commit comments

Comments
 (0)