diff --git a/Client/src/Components/Animated/PulseDot.jsx b/Client/src/Components/Animated/PulseDot.jsx index 46ba960f3..4ec04c226 100644 --- a/Client/src/Components/Animated/PulseDot.jsx +++ b/Client/src/Components/Animated/PulseDot.jsx @@ -1,5 +1,19 @@ +import PropTypes from "prop-types"; import { Box, Stack } from "@mui/material"; +/** + * A component that renders a pulsating dot with a specified color. + * + * @component + * @example + * // Example usage: + * + * + * @param {Object} props + * @param {string} props.color - The color of the dot. + * @returns {JSX.Element} The PulseDot component. + */ + const PulseDot = ({ color }) => { return ( { ); }; +PulseDot.propTypes = { + color: PropTypes.string.isRequired, +}; + export default PulseDot;