8 lines
207 B
TypeScript
8 lines
207 B
TypeScript
import { createContext } from "react"
|
|
|
|
import type { RecordValue } from "./types"
|
|
|
|
export const RecordContext = createContext<RecordValue | undefined>(undefined)
|
|
|
|
RecordContext.displayName = "RecordContext"
|