Skip to content

Commit 7b61989

Browse files
committed
ButtonOrLink: extend props with HTMLElements
1 parent a328e44 commit 7b61989

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/common/ButtonOrLink.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Link } from 'react-router-dom';
44
/**
55
* Accepts all the props of an HTML <a> or <button> tag.
66
*/
7-
export interface ButtonOrLinkProps {
7+
export interface ButtonOrLinkProps extends React.HTMLAttributes<HTMLElement> {
88
/**
99
* Can be internal or external ('http'- or 'https'-).
1010
*/

0 commit comments

Comments
 (0)