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