import { memo } from 'react'; export interface DisplayOptionsPanelProps { groupByFolder: boolean; groupByFolderChanged: (checked: boolean) => void; } export const GroupByFolderPanel = memo( ({ groupByFolder, groupByFolderChanged }: DisplayOptionsPanelProps) => { return (
groupByFolderChanged(event.target.checked)} checked={groupByFolder} >

Visually arrange libraries by folders with different colors.

); } ); export default GroupByFolderPanel;