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

18 lines
661 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
});
}
// import FormWithMutation from "./FormWithMutation.jsx";
import FormWithSingle from './FormWithSingle.jsx'
export default FormWithSingle;
// export { FormWithMutation as default, FormWrapper };