2017-03-16 01:25:08 +08:00
|
|
|
import SimpleSchema from 'simpl-schema';
|
2017-01-18 12:51:10 +01:00
|
|
|
import { registerComponent } from 'meteor/nova:core';
|
2016-11-26 02:46:55 +08:00
|
|
|
|
2016-06-14 16:36:05 +09:00
|
|
|
if (typeof SimpleSchema !== "undefined") {
|
2017-03-16 01:25:08 +08:00
|
|
|
SimpleSchema.extendOptions([
|
|
|
|
'control', // SmartForm control (String or React component)
|
|
|
|
'order', // order in the form
|
|
|
|
'group', // form fieldset group
|
|
|
|
'beforeComponent',
|
|
|
|
'afterComponent'
|
|
|
|
]);
|
2016-06-14 16:36:05 +09:00
|
|
|
}
|
2016-04-01 20:57:37 +09:00
|
|
|
|
2017-01-18 15:11:31 +01:00
|
|
|
import FormWrapper from './FormWrapper.jsx';
|
|
|
|
export default FormWrapper;
|