feat(record): add generic record context APIs
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import { createContext } from "react"
|
||||
|
||||
import type { RecordValue } from "./types"
|
||||
|
||||
export const RecordContext = createContext<RecordValue | undefined>(undefined)
|
||||
|
||||
RecordContext.displayName = "RecordContext"
|
||||
Reference in New Issue
Block a user