You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
501 B

import React from 'react';
import type { PanelPickerProps } from './components/PanelPicker';
import type { PanelPresetsProps } from './components/PanelPresets';
export const PanelPickerContext = React.createContext<PanelPickerProps>({} as PanelPickerProps);
export const PanelPresetsContext = React.createContext<PanelPresetsProps>({} as PanelPresetsProps);
export const { Provider: PanelPickerProvider } = PanelPickerContext;
export const { Provider: PanelPresetsProvider } = PanelPresetsContext;