import React, {Component} from "react";
export default class extends Component {
constructor(props) {
super(props);
}
render() {
let containerStyle = {
fontSize: 13
};
let tableStyle = {
display: "inline-block",
verticalAlign: "top",
borderCollapse: "collapse"
};
let keyStyle = {
color: "#666"
};
let valueStyle = {
textAlign: "right"
};
if (!this.props.tickerSummary) {
return null;
} else {
return (
| Range |
{this.props.tickerSummary.range} |
| 52 week |
{this.props.tickerSummary.fiftyTwoWeek} |
| Open |
{this.props.tickerSummary.open} |
| Vol / Avg. |
{this.props.tickerSummary.vol}/{this.props.tickerSummary.avg}
|
| Div/yield |
{this.props.tickerSummary.dividend}/{this.props.tickerSummary.yld} |
| EPS |
{this.props.tickerSummary.eps} |
| Shares |
{this.props.tickerSummary.shares} |
| Market Cap |
{this.props.tickerSummary.marketCap} |
);
}
}
}