AG-420 Improve React implementation

This commit is contained in:
Sean Landsman
2017-05-25 22:15:56 +01:00
parent 1b3fc21107
commit 3226c0d6ba
11 changed files with 517 additions and 5 deletions

View File

@@ -0,0 +1,15 @@
import React, {Component} from "react";
export default class NameAndAgeRenderer extends Component {
constructor(props) {
super(props);
this.values = `Name: ${this.props.data.name}, Age: ${this.props.data.age}`;
}
render() {
return (
<span>Full Width Column! { this.values }</span>
);
}
};