We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1a38085 + 73517f3 commit 468c710Copy full SHA for 468c710
1 file changed
docs/api/draggable.md
@@ -256,9 +256,9 @@ If you are overriding inline styles be sure to do it after you spread the `provi
256
{(provided, snapshot) => {
257
// extending the DraggableStyle with our own inline styles
258
const style = {
259
+ ...provided.draggableProps.style,
260
backgroundColor: snapshot.isDragging ? 'blue' : 'white',
261
fontSize: 18,
- ...provided.draggableProps.style,
262
};
263
return (
264
<div ref={provided.innerRef} {...provided.draggableProps} style={style}>
0 commit comments