Skip to content

Commit 03a6ad3

Browse files
jwdotjstimdorr
authored andcommitted
Add target as an optional prop to Link module (#3397)
1 parent 61ee087 commit 03a6ad3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/Link.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ const Link = React.createClass({
6161
activeStyle: object,
6262
activeClassName: string,
6363
onlyActiveOnIndex: bool.isRequired,
64-
onClick: func
64+
onClick: func,
65+
target: string
6566
},
6667

6768
getDefaultProps() {

0 commit comments

Comments
 (0)