File tree 3 files changed +9
-0
lines changed
packages/components/src/date-time/stories
3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,9 @@ const Template: StoryFn< typeof DateTimePicker > = ( {
51
51
} ;
52
52
53
53
export const Default : StoryFn < typeof DateTimePicker > = Template . bind ( { } ) ;
54
+ Default . args = {
55
+ currentDate : new Date ( ) ,
56
+ } ;
54
57
55
58
export const WithEvents : StoryFn < typeof DateTimePicker > = Template . bind ( { } ) ;
56
59
WithEvents . args = {
Original file line number Diff line number Diff line change @@ -51,6 +51,9 @@ const Template: StoryFn< typeof DatePicker > = ( {
51
51
} ;
52
52
53
53
export const Default : StoryFn < typeof DatePicker > = Template . bind ( { } ) ;
54
+ Default . args = {
55
+ currentDate : new Date ( ) ,
56
+ } ;
54
57
55
58
export const WithEvents : StoryFn < typeof DatePicker > = Template . bind ( { } ) ;
56
59
WithEvents . args = {
Original file line number Diff line number Diff line change @@ -52,6 +52,9 @@ const Template: StoryFn< typeof TimePicker > = ( {
52
52
} ;
53
53
54
54
export const Default : StoryFn < typeof TimePicker > = Template . bind ( { } ) ;
55
+ Default . args = {
56
+ currentTime : new Date ( ) ,
57
+ } ;
55
58
56
59
const TimeInputTemplate : StoryFn < typeof TimePicker . TimeInput > = ( args ) => {
57
60
return < TimePicker . TimeInput { ...args } /> ;
You can’t perform that action at this time.
0 commit comments