'use client'; import * as React from 'react'; import { ChevronRight, Search } from 'lucide-react'; import * as Button from '@/components/ui/button'; import * as EmptyState from '@/components/ui/empty-state'; import * as Kbd from '@/components/ui/kbd'; import { cn } from '@/utils/cn'; type FilterType = { icon: React.ReactNode; label: string; }; function FilterSidebar({ items, active, onActiveChange, }: { items: FilterType[]; active: string; onActiveChange: (value: string) => void; }) { return (
{items.map((item) => ( ))}
); } function SearchField({ value, onChange, }: { value: string; onChange: (value: string) => void; }) { return (
onChange(e.target.value)} /> ⌘K
); } function Actions({ onClear }: { onClear: () => void }) { return (
Clear Apply
); } function NoResults() { return ; } export { Actions, FilterSidebar, NoResults, SearchField }; export type { FilterType };