diff --git a/packages/grafana-ui/src/components/Button/Button.tsx b/packages/grafana-ui/src/components/Button/Button.tsx index 978d7dea8fa..2479687518a 100644 --- a/packages/grafana-ui/src/components/Button/Button.tsx +++ b/packages/grafana-ui/src/components/Button/Button.tsx @@ -10,7 +10,7 @@ import { ComponentSize } from '../../types/size'; import { getPropertiesForButtonSize } from '../Forms/commonStyles'; import { Icon } from '../Icon/Icon'; -export type ButtonVariant = 'primary' | 'secondary' | 'destructive' | 'link'; +export type ButtonVariant = 'primary' | 'secondary' | 'destructive'; export const allButtonVariants: ButtonVariant[] = ['primary', 'secondary', 'destructive']; export type ButtonFill = 'solid' | 'outline' | 'text'; export const allButtonFills: ButtonFill[] = ['solid', 'outline', 'text']; @@ -53,11 +53,6 @@ export const Button = React.forwardRef( iconOnly: !children, }); - deprecatedPropWarning( - variant === 'link', - `${Button.displayName}: Prop variant="link" is deprecated. Please use fill="text".` - ); - return (

diff --git a/public/app/plugins/panel/nodeGraph/ViewControls.tsx b/public/app/plugins/panel/nodeGraph/ViewControls.tsx index 1b3a7316014..ea460af3db4 100644 --- a/public/app/plugins/panel/nodeGraph/ViewControls.tsx +++ b/public/app/plugins/panel/nodeGraph/ViewControls.tsx @@ -75,7 +75,7 @@ export function ViewControls>(props: Props {allowConfiguration && ( - )}