mirror of
https://github.com/vale981/Vulcan
synced 2025-03-09 20:16:39 -04:00
14 lines
494 B
JavaScript
14 lines
494 B
JavaScript
import SimpleSchema from 'simpl-schema';
|
|
|
|
if (typeof SimpleSchema !== "undefined") {
|
|
SimpleSchema.extendOptions({
|
|
control: Match.Optional(Match.Any), // SmartForm control (String or React component)
|
|
order: Match.Optional(Number), // order in the form
|
|
group: Match.Optional(Object), // form fieldset group
|
|
beforeComponent: Match.Optional(Match.Any),
|
|
afterComponent: Match.Optional(Match.Any)
|
|
});
|
|
}
|
|
|
|
import FormWrapper from './FormWrapper.jsx'
|
|
export default FormWrapper;
|