|
1 | 1 | import{useTheme}from"@emotion/react";
|
2 |
| -importCancelOutlinedfrom"@mui/icons-material/CancelOutlined"; |
3 |
| -importLinkOutlinedfrom"@mui/icons-material/LinkOutlined"; |
4 | 2 | importLinearProgressfrom"@mui/material/LinearProgress";
|
5 | 3 | importLinkfrom"@mui/material/Link";
|
6 | 4 | importTooltipfrom"@mui/material/Tooltip";
|
@@ -36,7 +34,11 @@ import {
|
36 | 34 | import{Loader}from"components/Loader/Loader";
|
37 | 35 | import{Stack}from"components/Stack/Stack";
|
38 | 36 | import{useEmbeddedMetadata}from"hooks/useEmbeddedMetadata";
|
39 |
| -import{CircleCheckasCircleCheckIcon}from"lucide-react"; |
| 37 | +import{ |
| 38 | +CircleCheckasCircleCheckIcon, |
| 39 | +CircleXIcon, |
| 40 | +LinkIcon, |
| 41 | +}from"lucide-react"; |
40 | 42 | import{useTemplateLayoutContext}from"pages/TemplatePage/TemplateLayout";
|
41 | 43 | import{
|
42 | 44 | typeFC,
|
@@ -727,13 +729,7 @@ const ParameterUsageLabel: FC<ParameterUsageLabelProps> = ({
|
727 | 729 | }}
|
728 | 730 | >
|
729 | 731 | <TextValue>{usage.value}</TextValue>
|
730 |
| -<LinkOutlined |
731 |
| -css={{ |
732 |
| -width:14, |
733 |
| -height:14, |
734 |
| -color:theme.palette.primary.light, |
735 |
| -}} |
736 |
| -/> |
| 732 | +<LinkIconclassName="size-icon-xs text-content-link"/> |
737 | 733 | </Link>
|
738 | 734 | );
|
739 | 735 | }
|
@@ -770,13 +766,7 @@ const ParameterUsageLabel: FC<ParameterUsageLabelProps> = ({
|
770 | 766 | >
|
771 | 767 | {usage.value==="false" ?(
|
772 | 768 | <>
|
773 |
| -<CancelOutlined |
774 |
| -css={{ |
775 |
| -width:16, |
776 |
| -height:16, |
777 |
| -color:theme.palette.error.light, |
778 |
| -}} |
779 |
| -/> |
| 769 | +<CircleXIconclassName="size-icon-xs text-content-destructive"/> |
780 | 770 | False
|
781 | 771 | </>
|
782 | 772 | ) :(
|
|