Skip to content

Commit fefe37a

Browse files
Make components available for export via default object.
1 parent 660f8cd commit fefe37a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/index.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
import AllComponents from './components';
22
import Components from './components/Components';
3+
import Formio from './Formio';
34

45
Components.setComponents(AllComponents);
6+
Formio.Components = Components;
57

6-
export Formio from './Formio';
78
export Form from './Form';
89
export FormBuilder from './FormBuilder';
910
export Utils from './utils';
10-
export { Components };
11+
export { Components, Formio };

0 commit comments

Comments
 (0)