Skip to content

Commit

Permalink
update readme and changes to prepare for release
Browse files Browse the repository at this point in the history
  • Loading branch information
jchavarri committed Oct 24, 2023
1 parent 2f1c7c8 commit 9cc1359
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md → CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## Unreleased
## 1.4.0 (2023-10-24)

- Migrate to Melange v2

- Migrate to opam and Melange
## 1.3.0 (2023-04-06)

- Cleanup dependencies
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ Install [opam](https://opam.ocaml.org/) package manager.

Then:

```
opam pin add melange-react-dates.dev git+https://github.com/ahrefs/melange-react-dates.git#master
```sh
opam install melange-react-dates
```

The bindings support the following versions of the `react-dates`
Expand All @@ -29,15 +29,15 @@ npm package, which should be installed separately:

Add `melange-react-dates` to the `libraries` field in your `dune` file:

```dune
```clojure
; ...
(libraries melange-react-dates)
; ...
```

To include styles

```js
```reason
[%bs.raw {|require('react-dates/lib/css/_datepicker.css')|}];
```

Expand All @@ -53,7 +53,7 @@ To include styles

## Examples

```js
```reason
[%bs.raw {|require('react-dates/lib/css/_datepicker.css')|}];
[@react.component]
Expand Down

0 comments on commit 9cc1359

Please sign in to comment.