Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
});
let kernel = KERNEL_CATEGORIES.indexOf(cat) > -1;
if (cat in categories) {
section = (
<div>
<div>
{kernel && defaultIconRegistry.contains(iconClass) ? (
) : (
<div>
)}
<h2>{cat}</h2>
</div>
<div>
{toArray(
map(categories[cat], (item: ILauncher.IItemOptions) => {
return Card(
kernel,
item,
this,
this._commands,</div></div></div>
const items = plugins.map(plugin => {
const { id, schema, version } = plugin;
const itemTitle = `${schema.description}\n${id}\n${version}`;
const image = getHint(ICON_CLASS_KEY, registry, plugin);
const iconClass = combineClasses(
image,
'jp-PluginList-icon',
'jp-MaterialIcon'
);
const iconTitle = getHint(ICON_LABEL_KEY, registry, plugin);
return (
<li title="{itemTitle}" data-id="{id}" selection="">
{defaultIconRegistry.contains(image) ? (
</li>