import React, {useCallback, useState} from 'react'; import {Select, List} from '@jetbrains/ring-ui'; import '@jetbrains/ring-ui/components/input-size/input-size.scss'; import './search.scss'; import {IWindow, Option, Props} from "./types"; import {DokkaSearchAnchor} from "./dokkaSearchAnchor"; import {DokkaFuzzyFilterComponent} from "./dokkaFuzzyFilter"; const WithFuzzySearchFilterComponent: React.FC = ({data}: Props) => { const [selected, onSelected] = useState