reactMarkup: Prepare data that represents a single-element character...

View source: R/reacttools.R

reactMarkupR Documentation

Prepare data that represents a single-element character vector, a React component, or an htmltools tag for sending to the client.

Description

Tag lists as returned by htmltools tagList are not currently supported.

Usage

reactMarkup(tag)

Arguments

tag

character vector or React component or tag

Value

A reactR markup object suitable for being passed to createWidget as widget instance data.


react-R/reactR documentation built on Sept. 15, 2024, 8:34 p.m.