mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Add mixins property to context example (#7277)
This commit is contained in:
committed by
Dan Abramov
parent
fc04310792
commit
f6d4293003
@@ -489,6 +489,8 @@ var RouterMixin = {
|
||||
};
|
||||
|
||||
var Link = React.createClass({
|
||||
mixins: [RouterMixin],
|
||||
|
||||
handleClick: function(e) {
|
||||
e.stopPropagation();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user