Vulcan/packages/nova-forms/lib/export.js

17 lines
618 B
JavaScript
Raw Normal View History

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),
editableIf: Match.Optional(Function),
beforeComponent: Match.Optional(Match.Any),
afterComponent: Match.Optional(Match.Any)
2016-06-14 16:36:05 +09:00
});
}
2016-11-07 17:45:17 +09:00
import FormWithMutation from "./FormWithMutation.jsx";
2016-11-07 17:45:17 +09:00
import FormWrapper from './FormWrapper.jsx'
export { FormWithMutation as default, FormWrapper };