UNPKG

@grafana/ui

Version:
12 lines (11 loc) 464 B
import React, { type ButtonHTMLAttributes } from 'react'; import { type IconName } from '@grafana/data'; import { type ButtonVariant } from '../Button/Button'; export interface Props extends ButtonHTMLAttributes<HTMLButtonElement> { icon: IconName; active?: boolean; tooltip?: string; title: string; variant?: ButtonVariant; } export declare const SidebarButton: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLButtonElement>>;