Trend Micro Components: React Anchor
npm install @trendmicro/react-anchor
React Anchor component. It handles stopPropagation() and preventDefault() when disabling an anchor tag.
Demo: https://trendmicro-frontend.github.io/react-anchor
1. Install the latest version of react and react-anchor:
```
npm install --save react @trendmicro/react-anchor
2. Import react-anchor with @trendmicro scope:
`js`
import Anchor from '@trendmicro/react-anchor';
`js``
href="https://github.com"
>
GitHub
| Name | Type | Default | Description |
|---|---|---|---|
| href | String | ||
| onClick | Function(event) | ||
| disabled | Boolean | ||
| role | String | ||
| tabIndex | Number|String | ||
| componentClass | Node|String | 'a' |
MIT