UNPKG

@hackoregon/component-library

Version:

Official repo for Hack Oregon React component library

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