mirror of
https://github.com/vale981/Vulcan
synced 2025-03-07 02:21:43 -05:00
15 lines
428 B
JavaScript
15 lines
428 B
JavaScript
import React from 'react';
|
|
import PropTypes from 'prop-types';
|
|
import { registerComponent } from 'meteor/vulcan:core';
|
|
import { FormattedMessage } from 'meteor/vulcan:i18n';
|
|
|
|
const FormNestedHead = ({ label, addItem }) => (
|
|
<label className="control-label col-sm-3">{label}</label>
|
|
);
|
|
|
|
FormNestedHead.propTypes = {
|
|
label: PropTypes.string,
|
|
addItem: PropTypes.func,
|
|
};
|
|
|
|
registerComponent('FormNestedHead', FormNestedHead);
|