Skip to content

Commit bfc89b6

Browse files
authored
fix passing style to item docs in readme
1 parent 7e997f8 commit bfc89b6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,15 +115,15 @@ Expects either a vanilla JS array or an immutableJS array, consisting of objects
115115
canMove: true,
116116
canResize: false,
117117
canChangeGroup: false,
118-
className: 'weekend',
119-
style: {
120-
backgroundColor: 'fuchsia'
121-
},
122118
itemProps: {
123119
// these optional attributes are passed to the root <div /> of each item as <div {...itemProps} />
124120
'data-custom-attribute': 'Random content',
125121
'aria-hidden': true,
126-
onDoubleClick: () => { console.log('You clicked double!') }
122+
onDoubleClick: () => { console.log('You clicked double!') },
123+
className: 'weekend',
124+
style: {
125+
backgroundColor: 'fuchsia'
126+
}
127127
}
128128
}
129129
```

0 commit comments

Comments
 (0)