Learn R Programming

shinyChakraUI (version 1.1.1)

Tag: React component builder

Description

Create a React component. This is similar to React.

Usage

Tag

Arguments

Format

An object of class ReactTagBuilder of length 0.

Examples

Run this code
# NOT RUN {
Tag$Box(
  bg = "tomato",
  Tag$ButtonGroup(
    spacing = "4",
    Tag$Button(
      "I'm a button"
    ),
    Tag$Button(
      "I'm another button"
    )
  )
)
# }

Run the code above in your browser using DataLab