'snippets' === tab.name ? searchResults?.totalItems : undefined}
currentTab={currentTab}
setCurrentTab={tab => {
updateQueryParams({ [TAB_QUERY_PARAM]: tab.name })
setCurrentTab(tab)
}}
/>
{
// translators: %s: label of the currently selected community cloud tab.
sprintf(__('Community Cloud: %s', 'code-snippets'), currentTab.label)}
{__('Search the community cloud and download user-shared snippets directly to your site.', 'code-snippets')}
>
)
}
export const CommunityCloud = () =>