import type { Context } from 'react'; import { createContext, useContext } from 'react'; import type { RowContextState } from './interface'; const RowContext: Context = createContext({}); export const useRow = () => useContext(RowContext); export default RowContext;