ava.js 562 B

1234567891011121314
  1. import React from "react";
  2. import avatar from '../user.png'
  3. import { imgFind } from "../actions";
  4. import {createStore, combineReducers,applyMiddleware } from 'redux';
  5. import { reducers } from "../reducers";
  6. import thunk from "redux-thunk";
  7. const store = createStore(combineReducers(reducers), applyMiddleware(thunk))
  8. function AvaLogo({px}) {
  9. // Import result is the URL of your image
  10. return <img src='http://localhost:3000/images/5d6600e2254cff050d32c6967bcf3104' className = 'ava' alt="avatar" style = {{width: px}} />;
  11. }
  12. export default AvaLogo;