Skip to content

Commit adf3c00

Browse files
committed
add reactRouterExample() in README
1 parent d790796 commit adf3c00

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

README.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ install.packages("reactRouter")
5050

5151
Get started with a showcase example:
5252

53-
```{r}
53+
```r
5454
# print all examples available: reactRouterExample()
5555
reactRouterExample("basic")
5656
```

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,14 @@ HashRouter(
4242
install.packages("reactRouter")
4343
```
4444

45-
### More tutorials
45+
### Example
46+
47+
Get started with a showcase example:
48+
49+
``` r
50+
# print all examples available: reactRouterExample()
51+
reactRouterExample("basic")
52+
```
4653

4754
Read the vignette
4855
[here](https://felixluginbuhl.com/reactRouter/articles/introduction.html)

0 commit comments

Comments
 (0)