import { MagnifyingGlassIcon } from '../Icons'; import TextInput from './TextInput'; interface ConceptSearchProps { value: string onChange?: (newValue: string) => void dense?: boolean } function ConceptSearch({ value, onChange, dense }: ConceptSearchProps) { const borderClass = dense ? 'border-t border-x': ''; return (
(onChange ? onChange(event.target.value) : undefined)} />
); } export default ConceptSearch;