Skip to content

Commit

Permalink
build(app-react-cookbook): update [email protected] (#1357)
Browse files Browse the repository at this point in the history
  • Loading branch information
odinr authored Sep 26, 2023
1 parent 90a347c commit 17cfe9b
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 44 deletions.
5 changes: 5 additions & 0 deletions .changeset/happy-moose-wave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@equinor/fusion-framework-cookbook-app-react-ag-grid': patch
---

update ag-grid cookbook
8 changes: 4 additions & 4 deletions cookbooks/app-react-ag-grid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
"typescript": "^5.1.3"
},
"dependencies": {
"@ag-grid-community/client-side-row-model": "~30.1.0",
"@ag-grid-community/core": "~30.1.0",
"@ag-grid-community/react": "~30.1.0",
"@equinor/fusion-framework-module-ag-grid": "^30.1.0",
"@ag-grid-community/client-side-row-model": "~30.2.0",
"@ag-grid-community/core": "~30.2.0",
"@ag-grid-community/react": "~30.2.0",
"@equinor/fusion-framework-module-ag-grid": "workspace:^",
"@equinor/fusion-react-ag-grid-styles": "^29.3.9"
}
}
9 changes: 5 additions & 4 deletions cookbooks/app-react-ag-grid/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,11 @@ export const App = (): JSX.Element => {
<h4>Hello Fusion-framework Ag-Grid</h4>
<button onClick={addRow}>Add Row</button>
</div>
<div className={styles.root}>
<div className="ag-theme-alpine-fusion" style={{ height: 400, width: 600 }}>
<AgGridReact rowData={rowData} columnDefs={columnDefs}></AgGridReact>
</div>
<div
className={[styles.root, 'ag-theme-alpine-fusion'].join(' ')}
style={{ height: 500 }}
>
<AgGridReact rowData={rowData} columnDefs={columnDefs}></AgGridReact>
</div>
</>
);
Expand Down
74 changes: 38 additions & 36 deletions pnpm-lock.yaml

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

0 comments on commit 17cfe9b

Please sign in to comment.