I am unable to change size of the default move icon in Material React Table V3.
I have tried to add:
children: <DragIndicatorIcon sx={{ fontSize: "18px" }} />
But it is not overriding the default move icon sizing.
I am unable to change size of the default move icon in Material React Table V3.
I have tried to add:
children: <DragIndicatorIcon sx={{ fontSize: "18px" }} />
But it is not overriding the default move icon sizing.
Share Improve this question edited Apr 6 at 18:46 Aaron Morefield 1,00411 silver badges21 bronze badges asked Mar 19 at 9:44 E.DhivyaJLE.DhivyaJL 111 bronze badge1 Answer
Reset to default 1You can customize the default move icon (DragHandleIcon) by using icons prop.
<MaterialReactTable
icons={{
DragHandle: (props) => (
<DragIndicatorIcon sx={{ fontSize: 18 }} {...props} />
),
}}
/>