mirror of
https://github.com/ascribe/onion.git
synced 2024-11-15 17:45:10 +01:00
22 lines
463 B
JavaScript
22 lines
463 B
JavaScript
'use strict';
|
|
|
|
import React from 'react';
|
|
|
|
let FormPropertyHeader = React.createClass({
|
|
propTypes: {
|
|
children: React.PropTypes.oneOfType([
|
|
React.PropTypes.arrayOf(React.PropTypes.element),
|
|
React.PropTypes.element
|
|
])
|
|
},
|
|
|
|
render() {
|
|
return (
|
|
<div className="ascribe-form-header">
|
|
{this.props.children}
|
|
</div>
|
|
);
|
|
}
|
|
});
|
|
|
|
export default FormPropertyHeader; |