Skip to content

Commit 956b9e1

Browse files
authored
fix: Components type (#734)
1 parent 9b6278d commit 956b9e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/interface.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ export interface SharedPickerProps<DateType extends object = any>
405405
transitionName?: string;
406406

407407
// Render
408-
components?: Components;
408+
components?: Components<DateType>;
409409
/** @deprecated Please use `components.input` instead. */
410410
inputRender?: (props: React.InputHTMLAttributes<HTMLInputElement>) => React.ReactNode;
411411
cellRender?: CellRender<DateType>;

0 commit comments

Comments
 (0)