'use client' import type { FC } from 'react' import React from 'react' import type { Plugin } from '../../../types' import type { PackageDependency } from '../../../types' import { pluginManifestToCardPluginProps } from '../../utils' import LoadedItem from './loaded-item' type Props = { checked: boolean onCheckedChange: (plugin: Plugin) => void payload: PackageDependency } const PackageItem: FC = ({ payload, checked, onCheckedChange, }) => { const plugin = pluginManifestToCardPluginProps(payload.value.manifest) return ( ) } export default React.memo(PackageItem)