R/UI_twocolumns.R

Defines functions twocolumns

twocolumns <- function(
  heading = NULL,
  left,
  right,
  ...
){
  fluidRow(
    column(width = 4,
           if (!is.null(heading)){tags$h3(heading)}else{NULL},
           tags$div(class = "bodysmall", left)
    ),
    column(width = 8,
           right
    ),
    class = "my-3",
    ...
  )
}
sustainablefarms/farm_biodiversity_app documentation built on Sept. 13, 2023, 9:28 p.m.