Table options: Wrap text
Add an on/off option (wrap = true | false
) to table column options:
import WrapTextIcon from '@material-ui/icons/WrapText';
This is basically a checkbox with an icon.
The Table
must update the column CSS to white-space: [ 'normal', '!important' ]
when wrap is on.