asProps | R Documentation |
Converts arguments to a list which can be passed as the props
argument to reactElement()
.
Unnamed arguments become children and named arguments become attributes for the element.
asProps(...)
... |
Arguments to prepare for passing as props to a 'React' component |
A list of the arguments structured suitably for reactElement()
.
reactElement
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.