UNPKG

@hackoregon/component-library

Version:

Official repo for Hack Oregon React component library

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