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

Commit 2b859ba

Browse files
committed
update children type
1 parent 8437831 commit 2b859ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/JBDateInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export type JBDateInputProps = {
4949
calendarDefaultDateView?:{ year:number, month: number, dateType:JBDateInputInputTypes},
5050
usePersianNumber?: boolean,
5151
placeholder?:string | null | undefined,
52-
children?:any,
52+
children?:React.ReactNode | React.ReactNode[],
5353
}
5454

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

0 commit comments

Comments
 (0)