@grafana/ui
Version:
Grafana Components Library
12 lines (11 loc) • 464 B
TypeScript
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>>;