Skip to content

Commit

Permalink
feat(fuzzhelp): improve interaction with TOC
Browse files Browse the repository at this point in the history
  • Loading branch information
atusy committed May 5, 2024
1 parent 42c32f9 commit 87b8fbb
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion R/fuzzyhelp.R
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,14 @@ create_server <- function(
defaultPageSize = 20,
selection = "single",
defaultSelected = if (nrow(toc_matched) != 0) 1L,
onClick = "select"
onClick = "select",
striped = TRUE,
highlight = TRUE,
theme = reactable::reactableTheme(
cellPadding = "2px",
style = list(fontSize = "0.9em"),
highlight = "beige"
)
)
}))
reactiveSelection <- shiny::reactive({
Expand Down

0 comments on commit 87b8fbb

Please sign in to comment.