Skip to content

Commit

Permalink
update doc for new react demo
Browse files Browse the repository at this point in the history
  • Loading branch information
javadbat committed Mar 9, 2023
1 parent 36eac2c commit ea8327f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ this component is a simple react component that use [jb-date-input](https://gith
- support `esm` import build for modern `ECMA Script` nodejs app.

Demo & Sample
in github: <https://javadbat.github.io/jb-date-input/>
in github: <https://javadbat.github.io/jb-date-input-react/>
in codepen: <https://codepen.io/javadbat/pen/qBRyYKY>

## instructions
Expand All @@ -46,7 +46,7 @@ npm i jb-input-react
2- import package in your jsx file:

```js
import JBDateInput from 'jb-date-input-react';
import {JBDateInput} from 'jb-date-input-react';
```

3- use it in your jsx file like any other tag:
Expand Down Expand Up @@ -265,12 +265,12 @@ for better result i suggest you use `jb-date-input-inbox-element` tag but its op
example:

```jsx
<JBInput>
<JBDateInput>
<jb-date-input-inbox-element slot="end-section">
<div>after</div>
</jb-date-input-inbox-element>
<jb-date-input-inbox-element slot="start-section">
<div>before</div>
</jb-date-input-inbox-element>
</JBInput>
</JBDateInput>
```
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"react component",
"react"
],
"version": "2.0.17",
"version": "2.0.18",
"bugs": "https://github.com/javadbat/jb-date-input-react/issues",
"license": "MIT",
"files": [
Expand All @@ -36,6 +36,6 @@
"url": "https://github.com/javadbat/jb-date-input-react"
},
"dependencies": {
"jb-date-input": ">=3.7.11"
"jb-date-input": ">=3.7.12"
}
}

0 comments on commit ea8327f

Please sign in to comment.