1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-23 18:13:49 +01:00
onion/js/components/ascribe_forms/form_property_header.js

22 lines
463 B
JavaScript
Raw Normal View History

2015-07-08 14:37:20 +02:00
'use strict';
import React from 'react';
let FormPropertyHeader = React.createClass({
propTypes: {
2015-07-10 13:54:25 +02:00
children: React.PropTypes.oneOfType([
React.PropTypes.arrayOf(React.PropTypes.element),
React.PropTypes.element
])
2015-07-08 14:37:20 +02:00
},
render() {
return (
<div className="ascribe-form-header">
{this.props.children}
</div>
);
}
});
export default FormPropertyHeader;