Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ahrefs/melange-react-virtualized
Bindings for react-virtualized
https://github.com/ahrefs/melange-react-virtualized
Last synced: about 1 month ago
JSON representation
Bindings for react-virtualized
- Host: GitHub
- URL: https://github.com/ahrefs/melange-react-virtualized
- Owner: ahrefs
- License: mit
- Created: 2022-01-07T12:09:00.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-01-22T13:07:20.000Z (about 1 year ago)
- Last Synced: 2024-12-15T09:05:16.737Z (about 1 month ago)
- Language: Reason
- Size: 20.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# melange-react-virtualized
These are the [Melange](https://melange.re/) bindings for [react-virtualized](https://github.com/bvaughn/react-virtualized).
🚧 It is not completed, we are adding bindings as we go. Doesn't follow semver at this point. 🚧# Install
Install [opam](https://opam.ocaml.org/) package manager.
Then:
```
opam pin add melange-react-virtualized.dev git+https://github.com/ahrefs/melange-react-virtualized.git#master
```The bindings support the version `^9.0.2` of `react-virtualized` npm package, which should be installed separately:
```json
"dependencies": {
"react-virtualized": "^9.0.2"
}
```# Setup
Add `melange-react-virtualized` to the `libraries` in your `dune` file:
```dune
; ...
(libraries melange-react-virtualized)
; ...
```to include styles
```js
[%bs.raw {|require("react-virtualized/styles.css")|}];
```# Usage Example
See [this test file](./tests/test.re).
Check [react-virtualized documentation](https://github.com/bvaughn/react-virtualized/tree/master/docs#documentation) for available props.