import {StaticImage} from 'gatsby-plugin-image';
import React from 'react';

const JenkinsVoltron = () => <StaticImage src="../images/warning.svg" className="alert-icon" aria-label="Warning"/>;

export default JenkinsVoltron;


import React from 'react';
import src from '../images/warning.svg';

const WarningsIcon = () => (<img
    src={src}
    alt="Warning Icon"
    className="alert-icon"
    aria-label="Warning"
/>);

export default WarningsIcon;


Use the warnings svg directly as it doesn't need pre-processing
Use the warnings svg directly as it doesn't need pre-processing
