/** @jsx jsx */ import { css, jsx } from "@emotion/core"; import * as React from "react"; import * as betablack from "./betablack.png"; import * as betawhite from "./betawhite.png"; import * as black from "./black.png"; import * as white from "./white.png"; interface IProps { className?: any; "data-test"?: any; type?: string; src: string; alt?: string; width?: string; height?: string; } class LogoAtom extends React.PureComponent { public state = {}; public render() { const { type = "", alt = "", width = "", height = "" } = this.props; let logo = null; if (type === "BLACK") { logo = black; } if (type === "WHITE") { logo = white; } if (type === "BETABLACK") { logo = betablack; } if (type === "BETAWHITE") { logo = betawhite; } return ( {alt} ); } } export { LogoAtom };