mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 20:46:40 -04:00
14 lines
373 B
JavaScript
14 lines
373 B
JavaScript
import React from 'react';
|
|
import PropTypes from 'prop-types';
|
|
import { registerComponent } from 'meteor/vulcan:core';
|
|
|
|
const FormNestedHead = ({ label, addItem }) => (
|
|
<label className="control-label col-sm-3">{label}</label>
|
|
);
|
|
|
|
FormNestedHead.propTypes = {
|
|
label: PropTypes.string,
|
|
addItem: PropTypes.func,
|
|
};
|
|
|
|
registerComponent('FormNestedHead', FormNestedHead);
|