File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
packages/compass-components/src/components/document-list Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,30 @@ import { Document as HadronDocument } from 'hadron-document';
66 title = " Components/Data/Document"
77 component = { Document }
88 parameters = { { layout: ' centered' }}
9+ argTypes = { {
10+ value: {
11+ description: ' The HadronDocument instance to display' ,
12+ control: false ,
13+ },
14+ editable: {
15+ description: ' Whether the document fields can be edited' ,
16+ control: ' boolean' ,
17+ defaultValue: false ,
18+ },
19+ editing: {
20+ description: ' Whether the document is currently in editing mode' ,
21+ control: ' boolean' ,
22+ defaultValue: false ,
23+ },
24+ onEditStart: {
25+ description: ' Callback function called when editing starts' ,
26+ control: false ,
27+ },
28+ extraGutterWidth: {
29+ description: ' Additional width for the gutter area' ,
30+ control: ' number' ,
31+ },
32+ }}
933/>
1034
1135# Document
You can’t perform that action at this time.
0 commit comments