0.1.2 • Published 8 years ago

react-linkto v0.1.2

Weekly downloads
13
License
-
Repository
-
Last release
8 years ago

React-LinkTo

This is a simple component for generating an a-tag. The given onClick property will only be executed, when no modifier key is pressed. Else the normal browser behaviour will be done.

As modifier-keys are used ctrl, shift, alt and the mac-cmd

<LinkTo href="/path/to/something" onClick={this.doSomethingElse.bind(this)}>
  Text to click
</LinkTo>