@@ -4,7 +4,7 @@ import * as React from 'react';
4
4
export interface DatGuiProps {
5
5
data : any ; // The data your dat.GUI controller will mutate
6
6
onUpdate : ( data : any ) => any ; // The method which will be called whenever an update is handled by the controller
7
- children : React . ReactElement < any > ; // The dat.GUI components that make up the controller
7
+ children : any ; // The dat.GUI components that make up the controller
8
8
liveUpdate ?: boolean ; // Determines if live updates should occur, defaults to true
9
9
labelWidth ?: number ; // The width of the labels in pixels, defaults to 40
10
10
className ?: string ; // The class name to set on the DatGui div
@@ -30,7 +30,7 @@ export class DatButton extends React.Component<DatButtonProps, any> { }
30
30
31
31
export interface DatFolderProps extends DatUnChangableFieldProps {
32
32
title : string ;
33
- children : React . ReactNode [ ] ;
33
+ children : any ;
34
34
}
35
35
export class DatFolder extends React . Component < DatFolderProps , any > { }
36
36
@@ -42,6 +42,7 @@ export interface DatPresetsProps extends DatUnChangableFieldProps {
42
42
preset : any ; // Your preset
43
43
}
44
44
}
45
+ export class DatPresets extends React . Component < DatPresetsProps , any > { }
45
46
46
47
47
48
export interface DatBooleanProps extends DatChangableFieldProps { }
@@ -69,4 +70,4 @@ export class DatSelect extends React.Component<DatSelectProps, any> { }
69
70
70
71
71
72
export interface DatStringProps extends DatChangableFieldProps { }
72
- export class DatString extends React . Component < DatStringProps , any > { }
73
+ export class DatString extends React . Component < DatStringProps , any > { }
0 commit comments