Skip to content

Commit

Permalink
update children type
Browse files Browse the repository at this point in the history
  • Loading branch information
javadbat committed Feb 6, 2024
1 parent 8437831 commit 2b859ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/JBDateInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export type JBDateInputProps = {
calendarDefaultDateView?:{ year:number, month: number, dateType:JBDateInputInputTypes},
usePersianNumber?: boolean,
placeholder?:string | null | undefined,
children?:any,
children?:React.ReactNode | React.ReactNode[],
}

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

0 comments on commit 2b859ba

Please sign in to comment.