Skip to content

Commit ca7b313

Browse files
committed
Fix typo in tutorial
1 parent ab9a66d commit ca7b313

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vignettes/intro_htmlwidgets.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,10 +153,10 @@ We could also have exposed only a subset of the components exported by `react-sp
153153
import { Sparklines, SparklinesLine } from 'react-sparklines';
154154
import { reactWidget } from 'reactR';
155155
156-
reactWidget('reactSparklines', 'output', SparklinesComponents, {
156+
reactWidget('reactSparklines', 'output', {
157157
Sparklines: Sparklines,
158158
SparklinesLine: SparklinesLine
159-
});
159+
}, {});
160160
```
161161

162162
The primary difference between the two is the `import` syntax we chose to use.

0 commit comments

Comments
 (0)