Skip to content

Commit f1dd073

Browse files
committed
wording:
1 parent 56dd0b3 commit f1dd073

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vignettes/intro_inputs.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ colorpickerInput <- function(inputId, default = "") {
202202
}
203203
```
204204

205-
2. Design an *intermediate* React component that routes information from `colorpickerInput()` to the `<SketchPicker>` component and informs Shiny when a new color is chosen. This intermediate component should be a [functional component](https://reactjs.org/docs/components-and-props.html#function-and-class-components) with three arguments:
205+
2. Design an *intermediate* React component that routes information from `colorpickerInput()` to the `<SketchPicker>` component and also inform Shiny when a new color is chosen. This intermediate component should be a [functional component](https://reactjs.org/docs/components-and-props.html#function-and-class-components) with three arguments:
206206

207207
* `configuration`: The JSON equivalent of the `configuration` argument from `reactR::createReactShinyInput()`. In this particular example, `configuration` isn't used.
208208
* `value`: The input's values over time, beginning with the `default` supplied from `reactR::createReactShinyInput()`.

0 commit comments

Comments
 (0)