{ strings.apms.installText( extensions ) }
);
};
const ApmList: React.FunctionComponent< ApmListProps > = ( {
enabledApms,
setEnabledApms,
} ) => {
const handleToggleChange = ( apm: Apm ) => {
if ( enabledApms.has( apm ) ) {
enabledApms.delete( apm );
} else {
enabledApms.add( apm );
}
setEnabledApms( new Set< Apm >( enabledApms ) );
};
const apmsList = apms.map( ( apm ) => ( {
key: apm.id,
title: apm.title,
content: (
<>
{ apm.description }{ ' ' }