UNPKG

@hackoregon/component-library

Version:

Official repo for Hack Oregon React component library

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