mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: update typescript and tslib versions (#39389)
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com> Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
This commit is contained in:
@@ -20,14 +20,14 @@ const operators = ['=', '!=', '=~', '!=~'];
|
||||
|
||||
const FilterButton = React.forwardRef<HTMLButtonElement, CustomControlProps<string>>(
|
||||
({ value, isOpen, invalid, ...rest }, ref) => {
|
||||
return <Button ref={ref} {...rest} variant="secondary" icon="plus"></Button>;
|
||||
return <Button {...rest} ref={ref} variant="secondary" icon="plus"></Button>;
|
||||
}
|
||||
);
|
||||
FilterButton.displayName = 'FilterButton';
|
||||
|
||||
const OperatorButton = React.forwardRef<HTMLButtonElement, CustomControlProps<string>>(({ value, ...rest }, ref) => {
|
||||
return (
|
||||
<Button ref={ref} {...rest} variant="secondary">
|
||||
<Button {...rest} ref={ref} variant="secondary">
|
||||
<span className="query-segment-operator">{value?.label}</span>
|
||||
</Button>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user