mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-29 00:16:39 +01:00
add DocumentPath icon
This commit is contained in:
10
src/assets/icons/DocumentPath.tsx
Normal file
10
src/assets/icons/DocumentPath.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
import SvgIcon, { SvgIconProps } from "@mui/material/SvgIcon";
|
||||
import { mdiFileFindOutline } from "@mdi/js";
|
||||
|
||||
export default function DocumentPath(props: SvgIconProps) {
|
||||
return (
|
||||
<SvgIcon {...props}>
|
||||
<path d={mdiFileFindOutline} />
|
||||
</SvgIcon>
|
||||
);
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
import { Suspense } from "react";
|
||||
|
||||
import { Stack, InputLabel, Typography, IconButton } from "@mui/material";
|
||||
import DebugIcon from "@mui/icons-material/BugReportOutlined";
|
||||
import DocumentPathIcon from "assets/icons/DocumentPath";
|
||||
import LaunchIcon from "@mui/icons-material/Launch";
|
||||
import LockIcon from "@mui/icons-material/LockOutlined";
|
||||
|
||||
@@ -46,7 +46,7 @@ export default function FieldWrapper({
|
||||
},
|
||||
}}
|
||||
>
|
||||
{type === "debug" ? <DebugIcon /> : getFieldProp("icon", type)}
|
||||
{type === "debug" ? <DocumentPathIcon /> : getFieldProp("icon", type)}
|
||||
<InputLabel
|
||||
id={`sidedrawer-label-${name}`}
|
||||
htmlFor={`sidedrawer-field-${name}`}
|
||||
|
||||
Reference in New Issue
Block a user