mirror of
https://github.com/wassname/talk.git
synced 2026-07-23 13:10:20 +08:00
Use anchor for better accessibility and restore history
This commit is contained in:
@@ -15,6 +15,9 @@ import * as styles from "./BaseButton.css";
|
||||
interface InnerProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
||||
/** If set renders an anchor tag instead */
|
||||
anchor?: boolean;
|
||||
href?: string;
|
||||
target?: string;
|
||||
|
||||
/**
|
||||
* This prop can be used to add custom classnames.
|
||||
* It is handled by the `withStyles `HOC.
|
||||
|
||||
Reference in New Issue
Block a user