blob: dd87bd7dc60f801ef8af36fb1159cacdc8c8cb7f (
about) (
plain)
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
|
export interface ReactotronConfig {
/** The name of the app. */
name?: string
/** The host to connect to: default 'localhost'. */
host?: string
/** Should we use async storage */
useAsyncStorage?: boolean
/** Should we clear Reactotron when load? */
clearOnLoad?: boolean
/** Root state logging. */
state?: {
/** log the initial data that we put into the state on startup? */
initial?: boolean
/** log snapshot changes. */
snapshots?: boolean
}
}
/**
* The default Reactotron configuration.
*/
export const DEFAULT_REACTOTRON_CONFIG: ReactotronConfig = {
clearOnLoad: true,
host: "localhost",
useAsyncStorage: true,
state: {
initial: true,
snapshots: false,
},
}
|