Last active
August 29, 2015 14:07
-
-
Save jsleeuw/982b53e8399d404a0b13 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# @cjsx React.DOM | |
React = require('react') | |
Components = require('app/components') | |
Grid = Components.Grid | |
Table = Components.Table | |
BF1220O = React.createClass | |
render: -> | |
<div> | |
<Grid data={@props.data} name="Personal" fields='agentCode givenName surname'/> | |
<Grid data={@props.data} name="Agent" parentKey='agent' fields='familyName familyNameKana givenName'/> | |
<Table data={@props.data} name="Addresses" collection="addresses" columns={[{id:'addressString'}, {id:'postalCode'}, {id:'addressType'}]}/> | |
</div> | |
module.exports = BF1220O |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
view BF1220O { | |
<div> | |
<Grid name="Personal" fields='agentCode givenName surname'/> | |
<Grid name="Agent" parentKey='agent' fields='familyName familyNameKana givenName'/> | |
<Table name="Addresses" collection="addresses" columns={[{id:'addressString'}, {id:'postalCode'}, {id:'addressType'}]}/> | |
</div> | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment