-
-
Notifications
You must be signed in to change notification settings - Fork 49
/
Copy pathindex.d.ts
34 lines (30 loc) · 1.08 KB
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/**
* Turns a React component or stateless render function into a reactive component.
*/
import React = require("react")
export interface IDevToolProps {
highlightTimeout?: number
position?: "topRight" | "bottomRight" | "bottomLeft" | "topLeft" |
{
top?: number | string
right?: number | string
bottom?: number | string
left?: number | string
}
noPanel?: boolean;
className?: string;
style?: React.CSSProperties;
}
export default class DevTools extends React.Component<IDevToolProps, {}> {}
export class GraphControl extends React.Component<{}, {}> {}
export class LogControl extends React.Component<{}, {}> {}
export class UpdatesControl extends React.Component<{ highlightTimeout?: number }, {}> {}
export function configureDevtool(options: {
logEnabled?: boolean
updatesEnabled?: boolean
graphEnabled?: boolean
logFilter?: (p: any) => boolean
}): void
export function setUpdatesEnabled(enabled: boolean): void
export function setGraphEnabled(enabled: boolean): void
export function setLogEnabled(enabled: boolean): void