Skip to content

Instantly share code, notes, and snippets.

@zgababa
Created February 27, 2017 15:53
Show Gist options
  • Save zgababa/563a3271014bcdcc1377399786f2a844 to your computer and use it in GitHub Desktop.
Save zgababa/563a3271014bcdcc1377399786f2a844 to your computer and use it in GitHub Desktop.
'use strict';
import React, { PropTypes } from 'react';
import Radium from 'radium';
import get from 'lodash.get';
const styles = {
idPokemon : {
position : 'absolute',
top : '467px',
left : '621px',
color : 'whitesmoke',
fontWeight : 'normal'
}
};
function ScreenInfo(props) {
return (
<div style={styles.idPokemon}>
{get(props, 'pokemon.orderFormatted')}
</div>
);
}
ScreenInfo.propTypes = {
orderFormatted : PropTypes.string
};
export default new Radium(ScreenInfo);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment