UNPKG

@hackoregon/component-library

Version:

Official repo for Hack Oregon React component library

23 lines (21 loc) 505 B
import React from "react"; import PropTypes from "prop-types"; import isClient from "../utils/isClient"; import logoAnimatedInvert from "../../assets/civic-logo-invert-animated.svg"; var styles = { height: "60px", width: "auto" }; var Logo = function Logo(_ref) { var alt = _ref.alt; return isClient && React.createElement("img", { style: styles, src: logoAnimatedInvert, alt: alt }); }; Logo.displayName = "Logo"; Logo.propTypes = { alt: PropTypes.string }; export default Logo;