#
luxiaotao1123
2024-09-20 10761f3c66b5a5ebb1a852d2f9f4379bf29dfde3
zy-acs-flow/src/page/components/PulseSignal.jsx
@@ -1,5 +1,6 @@
import * as React from 'react';
import { Paper, Typography, Box, Chip, Avatar } from '@mui/material';
import { teal } from '@mui/material/colors';
const PulseSignal = (props) => {
    const { flag = true, width = 8, ...rest } = props;
@@ -12,9 +13,9 @@
                    width: width,
                    height: width,
                    borderRadius: '50%',
                    backgroundColor: flag ? '#3f51b5' : '#f44336',
                    backgroundColor: flag ? `${teal[400]}` : '#f44336',
                    display: 'inline-block',
                    animation: 'pulse 1.5s infinite',
                    animation: 'pulse 1.2s infinite',
                    '@keyframes pulse': {
                        '0%': {
                            transform: 'scale(1)',