From eaac2f76b0cc97cd661058634a2bf22d0c272317 Mon Sep 17 00:00:00 2001 From: Aleksander Chlebowski Date: Mon, 27 Nov 2023 16:46:47 +0100 Subject: [PATCH] fix more line breaks --- vignettes/creating-custom-modules.Rmd | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/vignettes/creating-custom-modules.Rmd b/vignettes/creating-custom-modules.Rmd index 7044b61fe1..aa20118191 100644 --- a/vignettes/creating-custom-modules.Rmd +++ b/vignettes/creating-custom-modules.Rmd @@ -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 @@ -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