feat(record): add generic record context APIs

This commit is contained in:
Maofeng
2026-09-28 17:23:59 +08:00
parent 93373adb9a
commit 3eb0246c40
11 changed files with 324 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
import { createContext } from "react"
import type { RecordValue } from "./types"
export const RecordContext = createContext<RecordValue | undefined>(undefined)
RecordContext.displayName = "RecordContext"