|
|
@ -11,6 +11,7 @@ interface ListProps<Item> { |
|
|
refresh: () => void; |
|
|
refresh: () => void; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// TODO: Add search box.
|
|
|
function SearchableList<Item>( |
|
|
function SearchableList<Item>( |
|
|
ItemComponent: ComponentType<ItemProps<Item>> |
|
|
ItemComponent: ComponentType<ItemProps<Item>> |
|
|
): FC<ListProps<Item>> { |
|
|
): FC<ListProps<Item>> { |
|
|
|