Skip to content

Commit

Permalink
fix props validation
Browse files Browse the repository at this point in the history
  • Loading branch information
javadbat committed Nov 12, 2023
1 parent c12f5bd commit 2f43b79
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions lib/JBDateInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ export type JBDateInputProps = {
label?: string,
style?:string,
name?:string,
min: string | null | undefined,
max: string | null | undefined,
min?: string | null | undefined,
max?: string | null | undefined,
format?: string,
className?:string,
onKeyup?: (e:JBDateInputEventType<KeyboardEvent>)=>void,
Expand All @@ -48,7 +48,7 @@ export type JBDateInputProps = {
required?: boolean,
calendarDefaultDateView?:{ year:number, month: number, dateType:JBDateInputInputTypes},
usePersianNumber?: boolean,
placeholder:string | null | undefined,
placeholder?:string | null | undefined,
children?:any,
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"react component",
"react"
],
"version": "2.3.0",
"version": "2.3.1",
"bugs": "https://github.com/javadbat/jb-date-input-react/issues",
"license": "MIT",
"files": [
Expand Down

0 comments on commit 2f43b79

Please sign in to comment.