Skip to content

Commit a264b70

Browse files
committed
update config
1 parent 2cb8849 commit a264b70

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/grid.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import * as React from "react";
22
import { Component, createRef, RefObject } from "react";
3-
import { Grid as Gridjs, UserConfig } from "gridjs";
3+
import { Grid as Gridjs, Config } from "gridjs";
44

5-
class Grid extends Component<Partial<UserConfig>, any> {
5+
class Grid extends Component<Partial<Config>, any> {
66
private wrapper: RefObject<HTMLDivElement> = createRef();
77
// Grid.js instance
88
private readonly instance = null;

tests/grid.test.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ describe("Grid component", () => {
6868
columns={["a", "b", "c"]}
6969
search={true}
7070
pagination={{
71-
enabled: true,
7271
limit: 1,
7372
}}
7473
/>

0 commit comments

Comments
 (0)