Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.

Commit ea8327f

Browse files
committed
update doc for new react demo
1 parent 36eac2c commit ea8327f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Diff for: README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ this component is a simple react component that use [jb-date-input](https://gith
2828
- support `esm` import build for modern `ECMA Script` nodejs app.
2929

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

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

4848
```js
49-
import JBDateInput from 'jb-date-input-react';
49+
import {JBDateInput} from 'jb-date-input-react';
5050
```
5151

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

267267
```jsx
268-
<JBInput>
268+
<JBDateInput>
269269
<jb-date-input-inbox-element slot="end-section">
270270
<div>after</div>
271271
</jb-date-input-inbox-element>
272272
<jb-date-input-inbox-element slot="start-section">
273273
<div>before</div>
274274
</jb-date-input-inbox-element>
275-
</JBInput>
275+
</JBDateInput>
276276
```

Diff for: package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"react component",
1919
"react"
2020
],
21-
"version": "2.0.17",
21+
"version": "2.0.18",
2222
"bugs": "https://github.com/javadbat/jb-date-input-react/issues",
2323
"license": "MIT",
2424
"files": [
@@ -36,6 +36,6 @@
3636
"url": "https://github.com/javadbat/jb-date-input-react"
3737
},
3838
"dependencies": {
39-
"jb-date-input": ">=3.7.11"
39+
"jb-date-input": ">=3.7.12"
4040
}
4141
}

0 commit comments

Comments
 (0)