mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
Change range input from Input to TextInput
Signed-off-by: Julius Volz <julius.volz@gmail.com>
This commit is contained in:
parent
d36e049d79
commit
1f3de9c599
|
@ -1,5 +1,5 @@
|
||||||
import { FC, useEffect, useState } from "react";
|
import { FC, useEffect, useState } from "react";
|
||||||
import { ActionIcon, Group, Input } from "@mantine/core";
|
import { ActionIcon, Group, Text, TextInput } from "@mantine/core";
|
||||||
import { IconMinus, IconPlus } from "@tabler/icons-react";
|
import { IconMinus, IconPlus } from "@tabler/icons-react";
|
||||||
import {
|
import {
|
||||||
formatPrometheusDuration,
|
formatPrometheusDuration,
|
||||||
|
@ -78,7 +78,7 @@ const RangeInput: FC<RangeInputProps> = ({ range, onChangeRange }) => {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Group gap={5}>
|
<Group gap={5}>
|
||||||
<Input
|
<TextInput
|
||||||
title="Range"
|
title="Range"
|
||||||
value={rangeInput}
|
value={rangeInput}
|
||||||
onChange={(event) => setRangeInput(event.currentTarget.value)}
|
onChange={(event) => setRangeInput(event.currentTarget.value)}
|
||||||
|
|
Loading…
Reference in a new issue