+ {props.label != '' && (
+
+ )}
+
+
+
+
+
+ onTimeChange(value ? value.toString() : undefined)
+ }
+ >
+ setOpen(false)}
+ open={open}
+ dropContent={
+
+ {suggestionButtons}
+
+ }
+ onOpen={() => {
+ setOpen(true);
+ }}
+ >
+
+
+
+ {
+ return (
+
+ {msg}
+
+ );
+ }}
+ />
+
+
+
+ );
+};
+
+export default FormikDateTimePicker;
diff --git a/src/frontend/magnify/src/components/design-system/Formik/FormikDateTimePicker/SuggestionButton.tsx b/src/frontend/magnify/src/components/design-system/Formik/FormikDateTimePicker/SuggestionButton.tsx
new file mode 100644
index 000000000..553570368
--- /dev/null
+++ b/src/frontend/magnify/src/components/design-system/Formik/FormikDateTimePicker/SuggestionButton.tsx
@@ -0,0 +1,45 @@
+import { Box, Button, Text } from 'grommet';
+import { normalizeColor } from 'grommet/utils';
+import { DateTime } from 'luxon';
+import React, { FunctionComponent, ReactElement } from 'react';
+import { useTheme } from 'styled-components';
+import { mergeDateTime } from './utils';
+
+const today = DateTime.now().toISO();
+
+export interface suggestionButtonProps {
+ buttonValue: string;
+ frenchButtonValue: string;
+ choiceValue: string;
+ onClick: (value: string) => void;
+ isToday: boolean;
+ beforeToday: boolean;
+}
+
+const SuggestionButton: FunctionComponent