Skip to content

Commit e68fe82

Browse files
committed
1.5.0
1 parent 70a337e commit e68fe82

File tree

6 files changed

+29
-10640
lines changed

6 files changed

+29
-10640
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@ npm install --save gridjs
1616

1717
## Usage
1818

19+
Import the Grid component first:
20+
21+
```js
22+
import { Grid } from "gridjs-react";
23+
```
24+
25+
and then:
26+
1927
```jsx
2028
<Grid
2129
data={[
@@ -33,6 +41,10 @@ npm install --save gridjs
3341

3442
Then you can pass all Grid.js configs to the `Grid` component. See [Grid.js Config](https://gridjs.io/docs/config) for more details.
3543

44+
## Example
45+
46+
See the [React example](https://gridjs.io/docs/integrations/react) on Grid.js website.
47+
3648
## License
3749

3850
MIT

index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
import Grid from "./src/grid";
22

3-
export default Grid;
3+
export { Grid };

0 commit comments

Comments
 (0)