import React, { PureComponent } from 'react' import { AppContext } from '../store/createContext' import { locale } from '../util/moneyFormatter' import { formatCurrency } from '@coingecko/cryptoformat' import posed, { PoseGroup } from 'react-pose' import './Ticker.css' import { fadeIn } from './Animations' const Item = posed.div(fadeIn) export default class Ticker extends PureComponent { static contextType = AppContext render() { const { toggleCurrencies, needsConfig, currency, prices, accentColor } = this.context const activeStyle = { backgroundColor: accentColor, color: '#fff', borderColor: accentColor } return ( ) } }