teableio/teable

View on GitHub
packages/sdk/src/context/view/ViewContext.ts

Summary

Maintainability
A
0 mins
Test Coverage
/* eslint-disable @typescript-eslint/naming-convention */
/* eslint-disable @typescript-eslint/no-non-null-assertion */
import React from 'react';
import type { IViewInstance } from '../../model';

export const ViewContext = React.createContext<{
  views: IViewInstance[];
}>(null!);