import { memo } from 'react'; import { startTransition } from 'react'; import type { DataTableSearchProps } from './DataTable.types'; import { useLocalize } from '~/hooks'; import { Input } from '../Input'; import { cn } from '~/utils'; export const DataTableSearch = memo( ({ value, onChange, placeholder, className, disabled = false }: DataTableSearchProps) => { const localize = useLocalize(); return (