Skip to content

Commit

Permalink
docs: add react types to examples for stackblitz (#5307)
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinVandy authored Jan 28, 2024
1 parent cd80c52 commit 8f95203
Show file tree
Hide file tree
Showing 28 changed files with 221 additions and 5 deletions.
2 changes: 2 additions & 0 deletions examples/react/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.2.1",
"vite": "^5.0.11"
}
Expand Down
2 changes: 2 additions & 0 deletions examples/react/bootstrap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
"@faker-js/faker": "^8.3.1",
"@rollup/plugin-replace": "^5.0.5",
"@types/bootstrap": "^5.2.10",
"@types/react": "^18.2.48",
"@types/react-bootstrap": "^0.32.35",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.2.1",
"vite": "^5.0.11"
}
Expand Down
2 changes: 2 additions & 0 deletions examples/react/column-dnd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.2.1",
"vite": "^5.0.11"
}
Expand Down
2 changes: 2 additions & 0 deletions examples/react/column-groups/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.2.1",
"vite": "^5.0.11"
}
Expand Down
2 changes: 2 additions & 0 deletions examples/react/column-ordering/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.2.1",
"vite": "^5.0.11"
}
Expand Down
2 changes: 2 additions & 0 deletions examples/react/column-pinning/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.2.1",
"vite": "^5.0.11"
}
Expand Down
2 changes: 2 additions & 0 deletions examples/react/column-resizing-performant/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.2.1",
"vite": "^5.0.11"
}
Expand Down
2 changes: 2 additions & 0 deletions examples/react/column-sizing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.2.1",
"vite": "^5.0.11"
}
Expand Down
2 changes: 2 additions & 0 deletions examples/react/column-visibility/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.2.1",
"vite": "^5.0.11"
}
Expand Down
2 changes: 2 additions & 0 deletions examples/react/editable-data/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.2.1",
"vite": "^5.0.11"
}
Expand Down
2 changes: 2 additions & 0 deletions examples/react/expanding/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.2.1",
"vite": "^5.0.11"
}
Expand Down
2 changes: 2 additions & 0 deletions examples/react/filters/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.2.1",
"vite": "^5.0.11"
}
Expand Down
2 changes: 2 additions & 0 deletions examples/react/full-width-resizable-table/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.2.1",
"vite": "^5.0.11"
}
Expand Down
2 changes: 2 additions & 0 deletions examples/react/full-width-table/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.2.1",
"vite": "^5.0.11"
}
Expand Down
2 changes: 2 additions & 0 deletions examples/react/fully-controlled/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.2.1",
"vite": "^5.0.11"
}
Expand Down
2 changes: 2 additions & 0 deletions examples/react/grouping/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.2.1",
"vite": "^5.0.11"
}
Expand Down
2 changes: 2 additions & 0 deletions examples/react/material-ui-pagination/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
"devDependencies": {
"@faker-js/faker": "^8.3.1",
"@rollup/plugin-replace": "^5.0.5",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.2.1",
"vite": "^5.0.11"
}
Expand Down
2 changes: 2 additions & 0 deletions examples/react/pagination-controlled/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.2.1",
"vite": "^5.0.11"
}
Expand Down
2 changes: 2 additions & 0 deletions examples/react/pagination/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.2.1",
"vite": "^5.0.11"
}
Expand Down
2 changes: 2 additions & 0 deletions examples/react/row-dnd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.2.1",
"vite": "^5.0.11"
}
Expand Down
2 changes: 2 additions & 0 deletions examples/react/row-pinning/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.2.1",
"vite": "^5.0.11"
}
Expand Down
2 changes: 2 additions & 0 deletions examples/react/row-selection/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.2.1",
"vite": "^5.0.11"
}
Expand Down
2 changes: 2 additions & 0 deletions examples/react/sorting/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.2.1",
"vite": "^5.0.11"
}
Expand Down
2 changes: 2 additions & 0 deletions examples/react/sub-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.2.1",
"vite": "^5.0.11"
}
Expand Down
2 changes: 2 additions & 0 deletions examples/react/virtualized-columns/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.2.1",
"vite": "^5.0.11"
}
Expand Down
2 changes: 2 additions & 0 deletions examples/react/virtualized-infinite-scrolling/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.2.1",
"vite": "^5.0.11"
}
Expand Down
2 changes: 2 additions & 0 deletions examples/react/virtualized-rows/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.2.1",
"vite": "^5.0.11"
}
Expand Down
Loading

0 comments on commit 8f95203

Please sign in to comment.