import React from 'react'
import type { SyncContext } from './types'

export const GridSyncContext = React.createContext<SyncContext>({
    enabled: false,
    scroll: {
        subscribe: () => () => {},
        update: () => {},
    },
    height: {
        subscribe: () => () => {},
        update: () => [],
    },
    hover: {
        subscribe: () => () => {},
        update: () => {},
    },
})
