mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
11 lines
284 B
TypeScript
11 lines
284 B
TypeScript
import { createContext } from 'react';
|
|
|
|
import type { Features } from 'types';
|
|
|
|
export interface FeaturesContextValue {
|
|
features: Features;
|
|
}
|
|
|
|
const FeaturesContextDefaultValue = {} as FeaturesContextValue;
|
|
export const FeaturesContext = createContext(FeaturesContextDefaultValue);
|