@visactor/vtable
Version:
canvas table width high performance
10 lines (9 loc) • 403 B
TypeScript
import type { Container } from '../render/layout';
import type { CustomRenderFunctionArg } from './customElement';
export type ICustomLayoutObj = {
rootContainer: Container | any;
renderDefault?: boolean;
enableCellPadding?: boolean;
};
export type ICustomLayoutFuc = (args: CustomRenderFunctionArg) => ICustomLayoutObj;
export type ICustomLayout = ICustomLayoutFuc | 'react-custom-layout';