src/components/category-dropdown.tsx'use client'import { Dropdown, type DropdownItem } from '@/components/dropdown'import { getAllCategories } from '@/utils/taxonomies'import type { ComponentProps } from 'react'type Forwarded = Pick<ComponentProps<typeof Dropdown>,| 'className'| 'buttonClassName'| 'panelClassName'| 'placement'| 'leadingIcon'| 'leadingIconClassName'| 'hideChevron'| 'searchable'| 'onSelect'>interface CategoryDropdownProps extends Forwarded {
Showing the first 20 lines.
Get full code