sanity
Version:
Sanity is a real-time content infrastructure with a scalable, hosted backend featuring a Graph Oriented Query Language (GROQ), asset pipelines and fast edge caches
9 lines (5 loc) • 341 B
text/typescript
import {createTrackerScope, type Reported} from '../../components/react-track-elements'
import {type FieldPresenceData} from '../types'
export type ReportedPresenceData = Reported<FieldPresenceData>
const {Tracker, useReporter, useReportedValues} = createTrackerScope<FieldPresenceData>()
export {Tracker, useReportedValues, useReporter}