mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +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:
parent
cab2a719f4
commit
7bff99cf63
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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user