We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cb8849 commit a264b70Copy full SHA for a264b70
src/grid.tsx
@@ -1,8 +1,8 @@
1
import * as React from "react";
2
import { Component, createRef, RefObject } from "react";
3
-import { Grid as Gridjs, UserConfig } from "gridjs";
+import { Grid as Gridjs, Config } from "gridjs";
4
5
-class Grid extends Component<Partial<UserConfig>, any> {
+class Grid extends Component<Partial<Config>, any> {
6
private wrapper: RefObject<HTMLDivElement> = createRef();
7
// Grid.js instance
8
private readonly instance = null;
tests/grid.test.tsx
@@ -68,7 +68,6 @@ describe("Grid component", () => {
68
columns={["a", "b", "c"]}
69
search={true}
70
pagination={{
71
- enabled: true,
72
limit: 1,
73
}}
74
/>
0 commit comments