mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-23 20:23:08 +00:00
Add mixins property to context example (#7277)
This commit is contained in:
committed by
Dan Abramov
parent
710f12e7e3
commit
99adf5da96
@@ -489,6 +489,8 @@ var RouterMixin = {
|
||||
};
|
||||
|
||||
var Link = React.createClass({
|
||||
mixins: [RouterMixin],
|
||||
|
||||
handleClick: function(e) {
|
||||
e.stopPropagation();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user