import { List, ListItem, ListItemAvatar, ListItemText, Tooltip, } from '@mui/material'; import { Pause, PlayArrow } from '@mui/icons-material'; import styles from 'component/common/common.module.scss'; import { Link } from 'react-router-dom'; import { ConditionallyRender } from 'component/common/ConditionallyRender/ConditionallyRender'; import { FeatureSchema } from 'openapi'; interface ITogglesLinkListProps { toggles: FeatureSchema[]; } export const TogglesLinkList = ({ toggles }: ITogglesLinkListProps) => ( 0} show={toggles.map(({ name, description = '-', enabled }) => ( } elseShow={ } /> {name} } secondary={description} /> ))} /> );