We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8589407 + d23aab3 commit b8d8dfcCopy full SHA for b8d8dfc
2 files changed
public/add.svg src/components/layout/add.svgpublic/add.svg renamed to src/components/layout/add.svg
src/components/layout/newDropdown.tsx
@@ -3,6 +3,7 @@ import * as Plugins from "../plugins";
3
import * as FlexLayout from "flexlayout-react";
4
import { Model } from ".";
5
import { WithAsProps } from "rsuite/esm/internals/types";
6
+import AddIcon from "./add.svg";
7
8
/**
9
* Appends a new tab to the layout containing the node
@@ -41,7 +42,7 @@ const renderButton = (
41
42
<img
43
{...props}
44
ref={ref}
- src="/add.svg"
45
+ src={AddIcon}
46
alt="Add"
47
key="Add button"
48
style={{ width: "1.1em", height: "1.1em" }}
0 commit comments