|
1 | 1 | import type { Interpolation, Theme } from "@emotion/react";
|
2 |
| -import VisibilityOffOutlinedIcon from "@mui/icons-material/VisibilityOffOutlined"; |
3 |
| -import VisibilityOutlinedIcon from "@mui/icons-material/VisibilityOutlined"; |
4 | 2 | import Checkbox from "@mui/material/Checkbox";
|
5 | 3 | import FormControlLabel from "@mui/material/FormControlLabel";
|
6 | 4 | import Table from "@mui/material/Table";
|
@@ -32,6 +30,7 @@ import {
|
32 | 30 | import { Spinner } from "components/Spinner/Spinner";
|
33 | 31 | import { Stack } from "components/Stack/Stack";
|
34 | 32 | import { useFormik } from "formik";
|
| 33 | +import { EyeIcon, EyeOffIcon } from "lucide-react"; |
35 | 34 | import { type ChangeEvent, type FC, useState } from "react";
|
36 | 35 | import { useNavigate } from "react-router-dom";
|
37 | 36 | import { getFormHelpers, nameValidator } from "utils/formUtils";
|
@@ -398,8 +397,8 @@ const ShowAllResourcesCheckbox: FC<ShowAllResourcesCheckboxProps> = ({
|
398 | 397 | name="show_all_permissions"
|
399 | 398 | checked={showAllResources}
|
400 | 399 | onChange={(e) => setShowAllResources(e.currentTarget.checked)}
|
401 |
| - checkedIcon={<VisibilityOutlinedIcon />} |
402 |
| - icon={<VisibilityOffOutlinedIcon />} |
| 400 | + checkedIcon={<EyeIcon className="size-icon-sm" />} |
| 401 | + icon={<EyeOffIcon className="size-icon-sm" />} |
403 | 402 | />
|
404 | 403 | }
|
405 | 404 | label={
|
|
0 commit comments