UNPKG

@hackoregon/component-library

Version:

Official repo for Hack Oregon React component library

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