A single tab button within ds_tablist.
Usage
ds_tab(label, value, selected = FALSE, ...)
Arguments
- label
The tab label text
- value
The value to return when this tab is selected
- selected
Whether this tab is initially selected
- ...
Additional attributes
Examples
ds_tab("Overview", value = "overview", selected = TRUE)
#> <ds-tab data-value="overview" aria-selected="true">Overview</ds-tab>