Skip to content

Commit 27caadb

Browse files
miksansegundojavivelasco
authored andcommitted
Added required?: boolean; (react-toolbox#1491)
1 parent a9518b6 commit 27caadb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

components/date_picker/DatePicker.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,10 @@ export interface DatePickerProps extends ReactToolbox.Props {
191191
* Date object with the currently selected date.
192192
*/
193193
value?: Date | string;
194+
/**
195+
* Used in case the input is required.
196+
*/
197+
required?: boolean;
194198
}
195199

196200
export interface DatePickerLocale {

0 commit comments

Comments
 (0)