UNPKG

@ichooss/xflow

Version:

[English (US)](README.md) | 简体中文

11 lines 386 B
import { type Registry } from '@antv/x6'; type GridTypes = keyof Registry.Grid.Presets; interface GridProps<T extends GridTypes> { visible?: boolean; size?: number; type: T; options: Registry.Grid.OptionsMap[T]; } declare const Grid: <T extends "dot" | "fixedDot" | "mesh" | "doubleMesh">(props: GridProps<T>) => null; export { Grid }; //# sourceMappingURL=Grid.d.ts.map