/ src / components / UI / NotificationIcon.tsx
NotificationIcon.tsx
 1  type NotificationIconProps = {
 2    handleOnClick: () => void;
 3    fillColor?: string | 'currentColor';
 4    path: string;
 5  };
 6  export const NotificationIcon = (props: NotificationIconProps) => {
 7    return (
 8      <>
 9        <svg
10          onClick={props.handleOnClick}
11          className='w-8 h-8 text-gray-800 dark:text-white'
12          aria-hidden='true'
13          xmlns='http://www.w3.org/2000/svg'
14          fill={props.fillColor}
15          viewBox='0 0 24 24'
16        >
17          <path d={props.path} />
18        </svg>
19      </>
20    );
21  };