2016-06-14 16:36:05 +09:00
|
|
|
if (typeof SimpleSchema !== "undefined") {
|
|
|
|
SimpleSchema.extendOptions({
|
|
|
|
control: Match.Optional(Match.Any), // NovaForm control (String or React component)
|
|
|
|
order: Match.Optional(Number), // order in the form
|
|
|
|
group: Match.Optional(Object), // form fieldset group
|
|
|
|
insertableIf: Match.Optional(Function),
|
2016-06-28 17:33:30 +09:00
|
|
|
editableIf: Match.Optional(Function),
|
|
|
|
beforeComponent: Match.Optional(Match.Any),
|
|
|
|
afterComponent: Match.Optional(Match.Any)
|
2016-06-14 16:36:05 +09:00
|
|
|
});
|
|
|
|
}
|
2016-04-01 20:57:37 +09:00
|
|
|
|
2016-11-12 15:49:07 +01:00
|
|
|
// import FormWithMutation from "./FormWithMutation.jsx";
|
2016-06-13 16:05:46 +09:00
|
|
|
|
2016-11-07 17:45:17 +09:00
|
|
|
import FormWrapper from './FormWrapper.jsx'
|
2016-11-12 15:49:07 +01:00
|
|
|
export default FormWrapper;
|
|
|
|
// export { FormWithMutation as default, FormWrapper };
|