ReverseImageSearch: Add engine icons

This commit is contained in:
V 2023-05-13 23:58:24 +02:00
parent f13f9e80a9
commit cd53cf38fe
No known key found for this signature in database
GPG key ID: A1DC0CFB5615D905
2 changed files with 28 additions and 6 deletions

View file

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
import type { ComponentType, CSSProperties, MouseEvent, PropsWithChildren, UIEvent } from "react";
import type { ComponentType, CSSProperties, MouseEvent, PropsWithChildren, ReactNode, UIEvent } from "react";
type RC<C> = ComponentType<PropsWithChildren<C & Record<string, any>>>;
@ -35,7 +35,7 @@ export interface Menu {
}>;
MenuItem: RC<{
id: string;
label: string;
label: ReactNode;
action?(e: MouseEvent): void;
icon?: ComponentType<any>;