+
+ Setting the time to "now" means that on every refresh this
+ time will be set to the time of the refresh.
+
+ onChange('now')}
+ fullWidth
size="s"
- color="subdued"
- className="euiDatePopoverContent__padded--large">
-
- Setting the time to "now" means that on every refresh
- this time will be set to the time of the refresh.
-
- onChange('now')}
- fullWidth
- size="s"
- fill>
- Set {position} date and time to now
-
-
- ),
- 'data-test-subj': 'superDatePickerNowTab',
- 'aria-label': `${ariaLabel} Now`,
- },
- ];
- };
+ fill>
+ Set {position} date and time to now
+
+
+ ),
+ 'data-test-subj': 'superDatePickerNowTab',
+ 'aria-label': `${ariaLabel} Now`,
+ },
+ ];
+
+ const initialSelectedTab = () =>
+ renderTabs.filter(tabs => tabs.id === getDateMode(value))[0];
return (