Skip to content
This repository was archived by the owner on May 15, 2022. It is now read-only.

Commit 26c9142

Browse files
authored
Update index.d.ts
1 parent ff8ee74 commit 26c9142

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

index.d.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import * as React from 'react';
44
export interface DatGuiProps {
55
data: any; // The data your dat.GUI controller will mutate
66
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
88
liveUpdate?: boolean; // Determines if live updates should occur, defaults to true
99
labelWidth?: number; // The width of the labels in pixels, defaults to 40
1010
className?: string; // The class name to set on the DatGui div
@@ -30,7 +30,7 @@ export class DatButton extends React.Component<DatButtonProps, any> { }
3030

3131
export interface DatFolderProps extends DatUnChangableFieldProps {
3232
title: string;
33-
children: React.ReactNode[];
33+
children: any;
3434
}
3535
export class DatFolder extends React.Component<DatFolderProps, any> { }
3636

@@ -42,6 +42,7 @@ export interface DatPresetsProps extends DatUnChangableFieldProps {
4242
preset: any; // Your preset
4343
}
4444
}
45+
export class DatPresets extends React.Component<DatPresetsProps, any> { }
4546

4647

4748
export interface DatBooleanProps extends DatChangableFieldProps { }
@@ -69,4 +70,4 @@ export class DatSelect extends React.Component<DatSelectProps, any> { }
6970

7071

7172
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

Comments
 (0)