2016-03-30 19:08:06 +09:00
|
|
|
import { checkNpmVersions } from 'meteor/tmeasday:check-npm-versions';
|
|
|
|
checkNpmVersions({
|
|
|
|
"react": "^0.14.6",
|
|
|
|
"formsy-react": "^0.17.0",
|
|
|
|
"formsy-react-components": "^0.6.6",
|
|
|
|
"react-bootstrap": "^0.28.3"
|
|
|
|
// 'rebass': '^0.2.4',
|
|
|
|
});
|
|
|
|
|
2016-04-05 16:27:48 +09:00
|
|
|
SimpleSchema.extendOptions({
|
|
|
|
control: Match.Optional(Match.Any), // NovaForm control (String or React component)
|
|
|
|
order: Match.Optional(Number) // order in the form
|
|
|
|
});
|
|
|
|
|
2016-04-04 10:21:18 +09:00
|
|
|
// import NewDocument from "./NewDocument.jsx";
|
|
|
|
// import EditDocument from "./EditDocument.jsx";
|
|
|
|
import NovaForm from "./NovaForm.jsx";
|
2016-03-30 19:08:06 +09:00
|
|
|
|
2016-04-01 20:57:37 +09:00
|
|
|
SimpleSchema.extendOptions({
|
|
|
|
insertableIf: Match.Optional(Function),
|
|
|
|
editableIf: Match.Optional(Function)
|
|
|
|
});
|
|
|
|
|
2016-04-04 10:21:18 +09:00
|
|
|
export default NovaForm;
|