'use client' import * as React from 'react' import { Search } from 'lucide-react' import { Input } from '@/components/ui/input' import { cn } from '@/lib/utils' interface ToolbarSearchProps extends React.InputHTMLAttributes { /** Overrides the wrapper (width/flex) classes, not the input itself. */ containerClassName?: string } /** * Page-toolbar search field. A pill, like every other control that lives in a * toolbar row (buttons, context pickers, segmented controls), at the shared * h-8 toolbar height. Form fields inside dialogs and forms keep the regular * rounded-lg Input; this variant exists only for toolbars. */ export const ToolbarSearch = React.forwardRef( ({ containerClassName, className, ...props }, ref) => (
), ) ToolbarSearch.displayName = 'ToolbarSearch'