This repository was archived by the owner on May 15, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +13
-10
lines changed Expand file tree Collapse file tree 1 file changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -77,20 +77,23 @@ class App extends React.Component {
77
77
78
78
This is the main container component for your GUI and is the default export from the package.
79
79
80
- #### props
80
+ #### required
81
81
82
- ##### required
82
+ | prop | Description | Type |
83
+ |----------|---------------------------------------------------------------------------------|----------|
84
+ | data | The data your dat.GUI controller will mutate | object |
85
+ | onUpdate | The method which will be called whenever an update is handled by the controller | function |
86
+ | children | The dat.GUI components that make up the controller | array |
83
87
84
- - ` data: object` - The data your dat.GUI controller will mutate
85
- - ` onUpdate: func` - The method which will be called whenever an update is handled by the controller
86
- - ` children: array` - The dat.GUI components that make up the controller
88
+ #### optional
87
89
88
- ##### optional
90
+ | prop | Description | Type | Default |
91
+ |------------|------------------------------------------------|---------|---------|
92
+ | liveUpdate | Determines if live updates should occur | boolean | true |
93
+ | labelWidth | The width of the labels in any valid CSS units | string | "40%" |
94
+ | className | The class name to set on the ` DatGui` div | string | null |
95
+ | style | The style object to set on the ` DatGui` div | object | null |
89
96
90
- - ` liveUpdate: bool` - Determines if live updates should occur, defaults to ` true `
91
- - ` labelWidth: string` - The width of the labels in any valid CSS units, defaults to ` 40 % `
92
- - ` className: string` - The class name to set on the ` DatGui` div
93
- - ` style: object` - The style object to set on the ` DatGui` div
94
97
95
98
### Components
96
99
You can’t perform that action at this time.
0 commit comments