AG-420 Improve React implementation

This commit is contained in:
Sean Landsman
2017-05-17 13:22:59 +01:00
parent 4069f6bc10
commit 8677118a27
16 changed files with 3807 additions and 18 deletions

View File

@@ -0,0 +1,46 @@
import React, {Component} from "react";
export default class extends Component {
constructor(props) {
super(props);
}
render() {
let containerStyle = {
display: "inline-block"
};
let priceStyle = {
fontSize: "2.6em",
fontWeight: "bold",
marginRight: 10
};
let minorStyle = {
fontSize: 11,
color: "#6F6F6F"
};
let negativeSwingStyle = {
color: "#d14836",
marginRight: 5
};
let positiveSwingStyle = {
color: "#093",
marginRight: 5
};
return (
<div>
<div id="ref_304466804484872_elt">
May 17, 6:17am GMT-4
<div style={minorStyle}>
<span>NASDAQ</span>
<div>Currency in USD</div>
</div>
</div>
</div>
);
}
}