mirror of
https://github.com/gromlab-ru/slm-design.git
synced 2026-08-22 07:30:16 +03:00
7 lines
293 B
TypeScript
7 lines
293 B
TypeScript
import { createContext } from 'react'
|
|
|
|
import type { SessionContextValue } from '../types/session-context-value.type'
|
|
|
|
/** React-контекст application-scoped пользовательской сессии. */
|
|
export const SessionContext = createContext<SessionContextValue | null>(null)
|