mirror of
https://github.com/VisActor/VTable
synced 2024-11-23 11:55:47 +00:00
fix: hack fix for createElement in openinula-vtable
This commit is contained in:
parent
15f2667f3e
commit
821fd087f9
@ -1,5 +1,6 @@
|
||||
import Inula, { useRef, useState, useLayoutEffect } from 'openinula';
|
||||
|
||||
const React = Inula; // hack for createElement, wait for fixed in gulp config
|
||||
export interface ContainerProps {
|
||||
style?: Inula.CSSProperties;
|
||||
className?: string;
|
||||
|
@ -1,6 +1,8 @@
|
||||
import Inula from 'openinula';
|
||||
import type { ListTable, PivotTable, PivotChart } from '@visactor/vtable';
|
||||
|
||||
const React = Inula; // hack for createElement, wait for fixed in gulp config
|
||||
|
||||
export interface TableContextType {
|
||||
table?: ListTable | PivotTable | PivotChart;
|
||||
// optionFromChildren: any;
|
||||
|
@ -22,6 +22,8 @@ import type {
|
||||
} from '../eventsUtils';
|
||||
import { bindEventsToTable, TABLE_EVENTS_KEYS, TABLE_EVENTS } from '../eventsUtils';
|
||||
|
||||
const React = Inula; // hack for createElement, wait for fixed in gulp config
|
||||
|
||||
export type IVTable = VTable.ListTable | VTable.PivotTable | VTable.PivotChart;
|
||||
export type IOption =
|
||||
| VTable.ListTableConstructorOptions
|
||||
|
Loading…
Reference in New Issue
Block a user