mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-15 17:43:08 -04:00
ReverseImageSearch: Add engine icons
This commit is contained in:
parent
f13f9e80a9
commit
cd53cf38fe
2 changed files with 28 additions and 6 deletions
4
src/webpack/common/types/menu.d.ts
vendored
4
src/webpack/common/types/menu.d.ts
vendored
|
@ -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>;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue