Commit 1cc1e545 by Łukasz Siatka Committed by Lukas Siatka

Explore: adds a ref to responsive button

parent 231e620f
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment