#
luxiaotao1123
2026-01-05 b0d63d1eecb2e0d88dde8fd1a5bf8574b56b9cbb
zy-acs-flow/src/map/insight/BoolValueIcon.jsx
@@ -1,12 +1,14 @@
import React from 'react';
import { CheckCircle, Cancel } from '@mui/icons-material';
import { useTheme } from '@mui/material';
import { Check, Close } from '@mui/icons-material';
import { green, red } from '@mui/material/colors';
const BoolValueIcon = ({ value }) => {
    const theme = useTheme();
    return value ? (
        <CheckCircle style={{ color: green[500] }} />
        <Check style={{ color: theme.palette.primary.main, fontSize: '24px' }} />
    ) : (
        <Cancel style={{ color: red[500] }} />
        <Close style={{ color: theme.palette.error.main, fontSize: '24px' }} />
    );
};