mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Enable consistent-type-imports eslint rule (#5205)
This commit is contained in:
1 parent
93a8d0f157
commit
1a29759bff
402 files changed
+991
-503
No files matched your search
@@ -10,8 +10,10 @@ import { observable, makeObservable } from "mobx";
|
||||
import { observer } from "mobx-react";
|
||||
import { boundMethod, cssNames } from "../../utils";
|
||||
import { ConfirmDialog } from "../confirm-dialog";
|
||||
import { Icon, IconProps } from "../icon";
|
||||
import { Menu, MenuItem, MenuProps } from "./menu";
|
||||
import type { IconProps } from "../icon";
|
||||
import { Icon } from "../icon";
|
||||
import type { MenuProps } from "./menu";
|
||||
import { Menu, MenuItem } from "./menu";
|
||||
import uniqueId from "lodash/uniqueId";
|
||||
import isString from "lodash/isString";
|
||||
|
||||
|
||||
@@ -5,11 +5,13 @@
|
||||
|
||||
import "./menu.scss";
|
||||
|
||||
import React, { Fragment, ReactElement, ReactNode } from "react";
|
||||
import type { ReactElement, ReactNode } from "react";
|
||||
import React, { Fragment } from "react";
|
||||
import { createPortal } from "react-dom";
|
||||
import { autoBind, cssNames, noop } from "../../utils";
|
||||
import { Animate } from "../animate";
|
||||
import { Icon, IconProps } from "../icon";
|
||||
import type { IconProps } from "../icon";
|
||||
import { Icon } from "../icon";
|
||||
import isEqual from "lodash/isEqual";
|
||||
|
||||
export const MenuContext = React.createContext<MenuContextValue>(null);
|
||||
|
||||
Reference in new issue
Block a user