mirror of
https://github.com/ascribe/onion.git
synced 2024-11-16 01:55:07 +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; |