Skip to content

Commit

Permalink
Merge pull request #289 from wiolem/patch-1
Browse files Browse the repository at this point in the history
docs: typo onDropOver
  • Loading branch information
ascoders authored Dec 9, 2020
2 parents 6c7084d + 87f9704 commit 3362f25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 140.精读《结合 React 使用原生 Drag Drop API》.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ const dragProps = {

```jsx
const dropProps = {
onDropOver: ev => {
onDragOver: ev => {
// 做一些样式处理,提示用户此时松手会将元素防止在何处
},
onDrop: ev => {
Expand Down

0 comments on commit 3362f25

Please sign in to comment.