mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
14 lines
261 B
TypeScript
14 lines
261 B
TypeScript
import { createContext } from "react";
|
|
|
|
export interface Settings {
|
|
consolesLink: string | null;
|
|
agentMode: boolean;
|
|
ready: boolean;
|
|
}
|
|
|
|
export const SettingsContext = createContext<Settings>({
|
|
consolesLink: null,
|
|
agentMode: false,
|
|
ready: false,
|
|
});
|