All files / src/icons HttpIcon.tsx

100% Statements 19/19
100% Branches 1/1
100% Functions 1/1
100% Lines 19/19

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 351x 1x     1x               1x 1x 63x 63x 63x 63x 63x 63x 63x 63x 63x   63x 63x 63x         63x   1x  
/** @internal */
import SvgIcon, { type SvgIconProps } from '@mui/material/SvgIcon';
import { FC } from 'react';
 
/**
 * A Material-UI icon component that renders a HTTP icon.
 * This icon is typically used to represent HTTP requests, HTTP responses, or HTTP status codes.
 *
 * @component
 * @param props - The props passed to the underlying SvgIcon component
 * @returns A React component that renders the HTTP icon
 * @source
 */
const HttpIcon: FC<SvgIconProps> = (props) => {
  return (
    <SvgIcon {...props}>
      <svg
        {...props}
        width="24"
        height="24"
        viewBox="0 -960 960 960"
        fill="none"
        xmlns="http://www.w3.org/2000/svg"
      >
        <path
          d="M40-360v-240h60v80h80v-80h60v240h-60v-100h-80v100H40Zm300 0v-180h-60v-60h180v60h-60v180h-60Zm220 0v-180h-60v-60h180v60h-60v180h-60Zm160 0v-240h140q24 0 42 18t18 42v40q0 24-18 42t-42 18h-80v80h-60Zm60-140h80v-40h-80v40Z"
          fill="currentColor"
        />
      </svg>
    </SvgIcon>
  );
};
 
export default HttpIcon;