You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 18, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: docs/api/drag-drop-context.md
+12-3Lines changed: 12 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@ In order to use drag and drop, you need to have the part of your `React` tree th
7
7
```js
8
8
type Responders = {|
9
9
// optional
10
+
onBeforeCapture?: OnBeforeCaptureResponder
10
11
onBeforeDragStart?: OnBeforeDragStartResponder,
11
12
onDragStart?: OnDragStartResponder,
12
13
onDragUpdate?: OnDragUpdateResponder,
@@ -30,12 +31,11 @@ type Props = {|
30
31
|};
31
32
```
32
33
33
-
- `liftInstruction`: What is read out to screen reader users when a *drag handle* is given browser focus. See our [screen reader guide](/docs/guides/screen-reader.md)
34
+
- `liftInstruction`: What is read out to screen reader users when a _drag handle_ is given browser focus. See our [screen reader guide](/docs/guides/screen-reader.md)
34
35
- `nonce`: Used for strict content security policy setups. See our [content security policy guide](/docs/guides/content-security-policy.md)
35
36
- `sensors`: Used to pass in your own `sensor`s for a `<DragDropContext />`. See our [sensor api documentation](/docs/sensors/sensor-api.md)
36
37
- `enableDefaultSensors`: Whether or not the default sensors ([mouse](/docs/sensors/mouse.md), [keyboard](/docs/sensors/keyboard.md), and [touch](/docs/sensors/touch.md)) are enabled. See our [sensor api documentation](/docs/sensors/sensor-api.md)
37
38
38
-
39
39
> See our [type guide](/docs/guides/types.md) for more details
0 commit comments