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
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -405,13 +405,15 @@ Setting `collision` prop to `compress` will compress items vertically towards th
405
405
406
406
### Style related props:
407
407
408
-
Component can be styled with css framework of your choice or with global classes. To do so, you can use the following props:
408
+
Component can be styled with css framework of your choice, global classes or `style` prop. To do so, you can use the following props:
409
409
410
410
-`<Grid class="..." />` - class name for grid container.
411
+
-`<Grid style="..." />` - inline style for grid container.
411
412
-`<GridItem class="..." />` - class name for grid item.
412
413
-`<GridItem activeClass="..." />` - class name that applies when item is currently being dragged or resized. By default, it is used to make active grid item transparent.
413
414
-`<GridItem previewClass="..." />` - class name for preview where item will be placed after interaction.
414
415
-`<GridItem resizerClass="..." />` - class name for item's resize handle.
416
+
-`<GridItem style="..." />` - inline style for grid item.
415
417
416
418
To understand how to use these props, look at `<Grid />` component simplified structure.
0 commit comments