Skip to content

Commit 33f5fb4

Browse files
committed
fix UIGuide
1 parent 23d0a0f commit 33f5fb4

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

ui-guide/Components/DatePickers.purs

+12-6
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,8 @@ cnDocumentationBlocks state =
408408
, inputId: "start"
409409
}
410410
[ HH.slot _dtp 4 DateTimePicker.component
411-
{ disabled: false
411+
{ defaultTime: Nothing
412+
, disabled: false
412413
, interval:
413414
Just
414415
{ start:
@@ -436,7 +437,8 @@ cnDocumentationBlocks state =
436437
, inputId: "end"
437438
}
438439
[ HH.slot _dtp 5 DateTimePicker.component
439-
{ disabled: false
440+
{ defaultTime: Nothing
441+
, disabled: false
440442
, interval:
441443
Just
442444
{ start:
@@ -470,7 +472,8 @@ cnDocumentationBlocks state =
470472
, inputId: "start"
471473
}
472474
[ HH.slot _dtp 0 DateTimePicker.component
473-
{ disabled: false
475+
{ defaultTime: Just $ Ocelot.Data.DateTime.unsafeMkTime 1 30 0 0
476+
, disabled: false
474477
, interval: Nothing
475478
, selection: Nothing
476479
, targetDate: Nothing
@@ -485,7 +488,8 @@ cnDocumentationBlocks state =
485488
, inputId: "start-disabled"
486489
}
487490
[ HH.slot _dtp 2 DateTimePicker.component
488-
{ disabled: true
491+
{ defaultTime: Nothing
492+
, disabled: true
489493
, interval: Nothing
490494
, selection: Nothing
491495
, targetDate: Nothing
@@ -505,7 +509,8 @@ cnDocumentationBlocks state =
505509
, inputId: "end"
506510
}
507511
[ HH.slot _dtp 1 DateTimePicker.component
508-
{ disabled: false
512+
{ defaultTime: Nothing
513+
, disabled: false
509514
, interval: Nothing
510515
, selection: Just $ DateTime (unsafeMkDate 2019 1 1) (unsafeMkTime 0 0 0 0)
511516
, targetDate: Nothing
@@ -520,7 +525,8 @@ cnDocumentationBlocks state =
520525
, inputId: "end-disabled"
521526
}
522527
[ HH.slot _dtp 3 DateTimePicker.component
523-
{ disabled: true
528+
{ defaultTime: Nothing
529+
, disabled: true
524530
, interval: Nothing
525531
, selection: Just $ DateTime (unsafeMkDate 2019 1 1) (unsafeMkTime 0 0 0 0)
526532
, targetDate: Nothing

0 commit comments

Comments
 (0)