reactors
Version:
View components and APIs that work web, mobile and desktop!
28 lines (20 loc) • 409 B
Markdown
Link
===
Display a link of a resource openable in device's browser.
# Usage
```javascript
import React, {Component} from 'react';
import {Link} from 'reactors';
export default class MyComponent extends Component {
render() {
return (
<Link href="http://google.com">
<Text>Go to Google</Text>
</Link>
);
}
}
```
# Props
## `href: string`
The link to open in web browser.