import React from 'react'; import { Icon, useStyles2, CardContainer, VerticalGroup } from '@grafana/ui'; import { CatalogPlugin, PluginIconName, PluginListDisplayMode, PluginTabIds } from '../types'; import { PluginLogo } from './PluginLogo'; import { PluginListItemBadges } from './PluginListItemBadges'; import { getStyles, LOGO_SIZE } from './PluginListItem'; type Props = { plugin: CatalogPlugin; pathName: string; }; export function PluginListItemCard({ plugin, pathName }: Props) { const styles = useStyles2((theme) => getStyles(theme, PluginListDisplayMode.Grid)); return (
{/* Logo */} {/* Name */}

{plugin.name}

{/* Type Icon */} {plugin.type && (
)}
{/* Org */}

By {plugin.orgName}

{/* Badges */}
); }