You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|frame |The database Class Frame, or object of all class frames|
22
+
|type | document type of interest to be displayed in form|
23
+
|mode | create/ edit/ view mode of form|
24
+
|formData | formData is the data to be filled in form during Edit or View mode |
25
+
|onSubmit | A function which acts as a callback with some custom logic to process data submitted via form|
26
+
|onSelect | A function which acts as a callback which provides a UI within the <FrameViwere/> from which user can select another document link. This can be a react component which can be used as search component|
27
+
|onTraverse | A function which acts as a callback which gets back the ID of a document on click |
28
+
|language | language code parameters to support a wide variety of languages in UI as defined in schema
29
+
|showThemeSelector| a Selector to select different themes when using Themes on an application level
30
+
|theme | a default theme in which Form will be displayed - if not mentioned ``darkly`` Bootswatch theme will be used by default
31
+
32
+
33
+
## Mandatory Props
34
+
| props |Mandatory |
35
+
|-- |--|
36
+
|frame |true |
37
+
|type |true |
38
+
|mode |true |
39
+
|formData |formData has to be mandatory in Edit or View mode. If nothing to display then pass empty json {}|
40
+
18
41
## Run sandbox
19
42
20
43
Run sandbox to get a demo on how to use ``<FrameViewer/>`` component.
0 commit comments