mirror of
https://github.com/grafana/grafana.git
synced 2025-02-12 08:35:43 -06:00
Explore: adds a ref to responsive button
This commit is contained in:
parent
231e620f95
commit
1cc1e545a0
@ -31,6 +31,7 @@ export const ResponsiveButton = forwardRef<HTMLButtonElement, Props>((props, ref
|
||||
className={`btn navbar-button ${buttonClassName ? buttonClassName : ''}`}
|
||||
onClick={onClick}
|
||||
disabled={disabled || false}
|
||||
ref={ref}
|
||||
>
|
||||
{iconClassName && iconSide === IconSide.left ? <i className={`${iconClassName}`} /> : null}
|
||||
<span className="btn-title">{!splitted ? formatBtnTitle(title, iconSide) : ''}</span>
|
||||
|
Loading…
Reference in New Issue
Block a user