mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 18:11:40 -05:00
16 lines
452 B
JavaScript
16 lines
452 B
JavaScript
import SimpleSchema from 'simpl-schema';
|
|
import { registerComponent } from 'meteor/vulcan:core';
|
|
|
|
if (typeof SimpleSchema !== "undefined") {
|
|
SimpleSchema.extendOptions([
|
|
'control', // SmartForm control (String or React component)
|
|
'order', // order in the form
|
|
'group', // form fieldset group
|
|
'beforeComponent',
|
|
'afterComponent',
|
|
'placeholder',
|
|
]);
|
|
}
|
|
|
|
import FormWrapper from './FormWrapper.jsx';
|
|
export default FormWrapper;
|