mirror of
https://github.com/supabase/supabase.git
synced 2026-10-13 13:19:09 +03:00
* init * fix build issues * move deps over * Update CommandMenuWrapper.tsx * build fixes * Update sitemap_www.xml * reset * Update sitemap_www.xml * Update tsconfig.json * Update package.json * Update package.json * Update package-lock.json * Update package.json
21 lines
604 B
TypeScript
21 lines
604 B
TypeScript
import { CommandGroup } from './Command.utils'
|
|
import SearchOnlyItem from './SearchOnlyItem'
|
|
|
|
import sharedItems from './utils/shared-nav-items.json'
|
|
|
|
export default function SearchableStudioItems() {
|
|
return (
|
|
<CommandGroup heading="Find">
|
|
{sharedItems.tools
|
|
.filter((item) => item.subItems) // filter items with subItems
|
|
.flatMap((item) =>
|
|
item.subItems?.map((subItem) => (
|
|
<SearchOnlyItem key={subItem.url + subItem.label} url={subItem.url}>
|
|
{subItem.label}
|
|
</SearchOnlyItem>
|
|
))
|
|
)}
|
|
</CommandGroup>
|
|
)
|
|
}
|