Skip to content

Commit 7fee096

Browse files
tdharmonpieh
authored andcommitted
feat(gatsby-plugin-google-analytics): add TS typings for OutboundLink component (#10215)
1 parent 1d5ccff commit 7fee096

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import * as React from "react"
2+
3+
interface OutboundLinkProps {
4+
onClick?: (event: React.MouseEvent<HTMLAnchorElement>) => void
5+
}
6+
7+
class OutboundLink extends React.Component<
8+
OutboundLinkProps & React.HTMLProps<HTMLAnchorElement>,
9+
any
10+
> {}
11+
export { OutboundLink }

0 commit comments

Comments
 (0)