Skip to content

Commit

Permalink
fix more line breaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksander Chlebowski committed Nov 27, 2023
1 parent 0ea753c commit eaac2f7
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions vignettes/creating-custom-modules.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,10 @@ which can be added into `teal` apps using `example_module(label = "Label for tab

### UI function

This function contains the UI required for the module. It should be a function with at least the arguments `id`.
It can also contain the argument `data` for access to the application data. See the server section below for more details.
This function contains the UI required for the module.
It should be a function with at least the arguments `id`.
It can also contain the argument `data` for access to the application data.
See the server section below for more details.

The UI function can contain standard UI components alongside additional widgets provided by the `teal.widgets` package.
In the example above we are using the `standard_layout` function of `teal.widgets` which generates a layout
Expand All @@ -70,7 +72,8 @@ function(id,
```

When used inside a `teal` application called with `init`, the `data` argument is a named list of reactive `data.frame`s containing the data after having been filtered through the filter panel. It is of the `tdata` type and can be created using the `new_tdata` function.
When used inside a `teal` application called with `init`, the `data` argument is a named list of reactive `data.frame`s containing the data after having been filtered through the filter panel.
It is of the `tdata` type and can be created using the `new_tdata` function.

## A More Complicated Example

Expand Down

0 comments on commit eaac2f7

Please sign in to comment.