Skip to content

Instantly share code, notes, and snippets.

View ttnsy's full-sized avatar
🍊

Tanesya Tresna ttnsy

🍊
View GitHub Profile
@ttnsy
ttnsy / searchable_dropdown.R
Last active December 11, 2023 10:11 — forked from Gotfrid/searchable_dropdown.R
shiny.fluent Dropdown component with search capabilities
#' shiny.fluent[0.2.1]
box::use(
shiny[div, moduleServer, NS, observeEvent],
shiny.fluent[JS, fluentPage, Dropdown.shinyInput]
)
DropdownMenuItemType <- function(type) { # nolint
JS(paste0("jsmodule['@fluentui/react'].DropdownMenuItemType."), type)
}