mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-12 15:22:45 +00:00
26 lines
571 B
JavaScript
26 lines
571 B
JavaScript
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;
|