mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 12:36:39 -04:00
11 lines
349 B
JavaScript
11 lines
349 B
JavaScript
import React from 'react';
|
|
import { registerComponent } from 'meteor/vulcan:core';
|
|
|
|
const StaticComponent = ({ value, label }) => (
|
|
<div className="form-group row">
|
|
<label className="control-label col-sm-3">{label}</label>
|
|
<div className="col-sm-9">{value}</div>
|
|
</div>
|
|
);
|
|
|
|
registerComponent('FormComponentStaticText', StaticComponent);
|