fix: address PR review feedback for icon migration
- Use AlertCircle for error and AlertTriangle for warning icons - Use Icon color prop instead of CSS fill for Lucide stroke-based icons - Replace wildcard import with explicit named imports for tree-shaking - Replace sx prop with style prop on Icon components - Add Trash2 to Icon component imports
This commit is contained in:
1 parent
7140d436a5
commit
7874439e4c
6 files changed
+144
-18
No files matched your search
@@ -35,7 +35,7 @@ const MonitorListItem = ({
|
||||
<Icon
|
||||
name="Trash2"
|
||||
size={20}
|
||||
sx={{ marginLeft: "auto" }}
|
||||
style={{ marginLeft: "auto", cursor: "pointer" }}
|
||||
onClick={() => {
|
||||
onDelete(monitor);
|
||||
}}
|
||||
|
||||
Reference in new issue
Block a user