mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-14 02:02:51 +00:00
'Sheet
This commit is contained in:
25
client/tpk/sheetRenderer/parts/playerInfo/playerInfo.jsx
Normal file
25
client/tpk/sheetRenderer/parts/playerInfo/playerInfo.jsx
Normal file
@@ -0,0 +1,25 @@
|
||||
var React = require('react');
|
||||
var _ = require('lodash');
|
||||
var cx = require('classnames');
|
||||
|
||||
var TextInput = require('../textInput/textInput.jsx');
|
||||
var Box = require('../box/box.jsx');
|
||||
|
||||
var PlayerInfo = React.createClass({
|
||||
getDefaultProps: function() {
|
||||
return {
|
||||
title: "player info",
|
||||
border : true
|
||||
};
|
||||
},
|
||||
render : function(){
|
||||
return <Box className='playerInfo' {...this.props} >
|
||||
<TextInput label="Name" placeholder="name" />
|
||||
<TextInput label="Class" />
|
||||
<TextInput label="Race" />
|
||||
{this.props.children}
|
||||
</Box>
|
||||
}
|
||||
});
|
||||
|
||||
module.exports = PlayerInfo;
|
||||
@@ -0,0 +1,3 @@
|
||||
.playerInfo{
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
Reference in New Issue
Block a user