pull/12372/head
StyleZhang 2 years ago
parent bc43e3a9fe
commit 9025e85ca5

@ -23,6 +23,7 @@ const CardWrapper = ({
<Card
key={plugin.name}
payload={plugin}
locale={locale}
footer={
<CardMoreInfo
downloadCount={plugin.install_count}

@ -27,6 +27,7 @@ const List = ({
marketplaceCollections={marketplaceCollections}
marketplaceCollectionPluginsMap={marketplaceCollectionPluginsMap}
showInstallButton={showInstallButton}
locale={locale}
/>
)
}

@ -7,11 +7,13 @@ type ListWithCollectionProps = {
marketplaceCollections: MarketplaceCollection[]
marketplaceCollectionPluginsMap: Record<string, Plugin[]>
showInstallButton?: boolean
locale?: string
}
const ListWithCollection = ({
marketplaceCollections,
marketplaceCollectionPluginsMap,
showInstallButton,
locale,
}: ListWithCollectionProps) => {
return (
<>
@ -30,6 +32,7 @@ const ListWithCollection = ({
key={plugin.name}
plugin={plugin}
showInstallButton={showInstallButton}
locale={locale}
/>
))
}

Loading…
Cancel
Save