Skip to content

Commit

Permalink
Merge pull request #418 from grid-js/v6.1
Browse files Browse the repository at this point in the history
gridjs 6.1
  • Loading branch information
afshinm authored Jan 14, 2024
2 parents d8879bb + a264b70 commit e1a603c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gridjs-react",
"version": "6.0.1",
"version": "6.1.0",
"description": "React component for Grid.js",
"main": "dist/gridjs.production.min.js",
"module": "dist/gridjs.production.es.min.js",
Expand Down Expand Up @@ -45,7 +45,7 @@
"eslint": "^8.22.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-jest": "^26.8.7",
"gridjs": "^6.0.1",
"gridjs": "^6.1.0",
"jest": "^27.5.1",
"jsdom": "^20.0.0",
"jsdom-global": "^3.0.2",
Expand Down
4 changes: 2 additions & 2 deletions src/grid.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import * as React from "react";
import { Component, createRef, RefObject } from "react";
import { Grid as Gridjs, UserConfig } from "gridjs";
import { Grid as Gridjs, Config } from "gridjs";

class Grid extends Component<Partial<UserConfig>, any> {
class Grid extends Component<Partial<Config>, any> {

Check warning on line 5 in src/grid.tsx

View workflow job for this annotation

GitHub Actions / build (14.x)

Unexpected any. Specify a different type

Check warning on line 5 in src/grid.tsx

View workflow job for this annotation

GitHub Actions / build (16.x)

Unexpected any. Specify a different type
private wrapper: RefObject<HTMLDivElement> = createRef();
// Grid.js instance
private readonly instance = null;
Expand Down
1 change: 0 additions & 1 deletion tests/grid.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ describe("Grid component", () => {
columns={["a", "b", "c"]}
search={true}
pagination={{
enabled: true,
limit: 1,
}}
/>
Expand Down

0 comments on commit e1a603c

Please sign in to comment.