Shows a button that will switch between a list view and grid view icon.
This component will set the tableView prop to true if it is currently in
the table view, or else it will set the state to false. The displayed
icon will be opposite and have the tooltip "Switch to [list/grid] view".
Shows a button that will switch between a list view and grid view icon. This component will set the tableView prop to true if it is currently in the table view, or else it will set the state to false. The displayed icon will be opposite and have the tooltip "Switch to [list/grid] view".