@dotconnor/grommet
Version:
focus on the essential experience
36 lines (25 loc) • 802 B
Markdown
## RoutedAnchor
An Anchor with support for React Router.
[](https://storybook.grommet.io/?selectedKind=Controls-RoutedAnchor&full=0&stories=1&panelRight=0) [](https://codesandbox.io/s/github/grommet/grommet-sandbox?initialpath=/routedanchor&module=%2Fsrc%2FRoutedAnchor.js)
## Usage
```javascript
import { RoutedAnchor } from 'grommet';
<RoutedAnchor primary path='/documentation' />
```
## Properties
**path**
Required. Indicates the path to be used for react-router link.
```
string
```
**method**
Indicates whether the browser history should be appended to or
replaced. Defaults to `push`.
```
push
replace
```
## Intrinsic element
```
a
```