1 ? 3 : 4}>
+ {
+ setVisible(true);
+ }}
+ >
+
+
+ {time[0]}
+
+
+ -
+
+
+ {time[1]}
+
+
+
+ setVisible(false)}
+ onClose={() => setVisible(false)}
+ onConfirm={(v) => {
+ onInputChange(convertFormat(v[0]) + '&' + convertFormat(v[1]));
+ onChange(convertFormat(v[0]) + '&' + convertFormat(v[1]));
+ }}
+ />
+
+ );
+};
+
export const IInput = (props) => {
const { options, value, onChange } = props;
const { t } = useTranslation();
@@ -71,7 +109,6 @@ export const IInput = (props) => {
export const IButton = (props) => {
const { onClick } = props;
const { t } = useTranslation();
-
return (