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:
Ryan McKinley
2021-09-22 12:15:37 -07:00
committed by GitHub
parent f76a11c955
commit 1c64f7d3ff
23 changed files with 38 additions and 43 deletions

View File

@@ -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>
);