|
|
@ -10,7 +10,6 @@ interface ListProps<Item> { |
|
|
map: { [key: string]: Item }; |
|
|
map: { [key: string]: Item }; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// TODO: Add search box.
|
|
|
|
|
|
const SearchableList: FC<ListProps<Item>> = ({ component, map }) => { |
|
|
const SearchableList: FC<ListProps<Item>> = ({ component, map }) => { |
|
|
const [filter, setFilter] = useState<string>(""); |
|
|
const [filter, setFilter] = useState<string>(""); |
|
|
|
|
|
|
|
|
|