import React from "react"; import style from "@components/PushNotificationIcon.module.css"; import { useIntermittentClass } from "@hooks/IntermittentClass"; export interface Props { width: number; height: number; animated?: boolean; } const PushNotificationIcon = function (props: Props) { const idleMilliseconds = 2500; const wiggleMilliseconds = 500; const startMilliseconds = 500; const wiggleClass = useIntermittentClass( props.animated ? style.wiggle : "", wiggleMilliseconds, idleMilliseconds, startMilliseconds, ); return ( ); }; export default PushNotificationIcon;