mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-04-05 05:04:26 +00:00
Export the ReactDatePickerProps interface
This is useful when wrapping the date picker in a custom component so that the props of the custom component can extend ReactDatePickerProps.
This commit is contained in:
2
types/react-datepicker/index.d.ts
vendored
2
types/react-datepicker/index.d.ts
vendored
@@ -9,7 +9,7 @@
|
||||
import * as React from "react";
|
||||
import * as moment from "moment";
|
||||
|
||||
interface ReactDatePickerProps {
|
||||
export interface ReactDatePickerProps {
|
||||
autoComplete?: string;
|
||||
autoFocus?: boolean;
|
||||
calendarClassName?: string;
|
||||
|
||||
Reference in New Issue
Block a user