Button: Enable tooltip for <a> types

The "Report Content" button was the impetus for this, as there was no way to know what that button is for unless the user clicked it (or smart enough to decipher the icon).

3465
This commit is contained in:
infiinte-persistence 2020-10-02 12:12:06 +08:00 committed by Sean Yesmunt
parent 57a09cd3c6
commit 590feab1d1

View file

@ -141,6 +141,7 @@ const Button = forwardRef<any, {}>((props: Props, ref: any) => {
rel="noopener noreferrer" rel="noopener noreferrer"
href={href || navigate} href={href || navigate}
className={combinedClassName} className={combinedClassName}
title={title}
onClick={onClick} onClick={onClick}
> >
{content} {content}