mirror of
https://github.com/ascribe/onion.git
synced 2024-12-23 18:13:49 +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; |