Skip to content
This repository was archived by the owner on Aug 18, 2025. It is now read-only.

Commit 4a14a3f

Browse files
Merge pull request #1981 from agilatakishiyev/text-fixes
Replaced provided.isDragging with snapshot.isDragging in droppable.md file.
2 parents bcfaf33 + 45fc646 commit 4a14a3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/api/droppable.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ class Students extends Component<{ students: Person[] }> {
254254
<div
255255
ref={provided.innerRef}
256256
style={{
257-
backgroundColor: provided.isDragging ? 'green' : 'lightblue',
257+
backgroundColor: snapshot.isDragging ? 'green' : 'lightblue',
258258
}}
259259
{...provided.droppableProps}
260260
>
@@ -291,7 +291,7 @@ function Students(props: { students: Person[] }) {
291291
<div
292292
ref={provided.innerRef}
293293
style={{
294-
backgroundColor: provided.isDragging ? 'green' : 'lightblue',
294+
backgroundColor: snapshot.isDragging ? 'green' : 'lightblue',
295295
}}
296296
{...provided.droppableProps}
297297
>

0 commit comments

Comments
 (0)