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

Commit e07e947

Browse files
committed
fix mandatory react children props
1 parent e795f06 commit e07e947

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#changelog
2+
## [2.0.21] - 2023-3-30
3+
### fixed
4+
- fix mandatory React children props
25
## [2.0.20] - 2023-3-30
36
### fixed
47
- fix trigger button bug by updating jb-date-input to v3.7.13

lib/JBDateInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export type JBDateInputProps = {
4646
required?: boolean,
4747
calendarDefaultDateView?:{ year:number, month: number, dateType:JBDateInputInputTypes},
4848
usePersianNumber?: boolean,
49-
children:any,
49+
children?:any,
5050
}
5151

5252
export const JBDateInput = React.forwardRef((props: JBDateInputProps, ref) => {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"react component",
1919
"react"
2020
],
21-
"version": "2.0.20",
21+
"version": "2.0.21",
2222
"bugs": "https://github.com/javadbat/jb-date-input-react/issues",
2323
"license": "MIT",
2424
"files": [

0 commit comments

Comments
 (0)