mirror of
https://github.com/vale981/Vulcan
synced 2025-03-12 13:36:37 -04:00
15 lines
373 B
React
15 lines
373 B
React
![]() |
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);
|