add_import_component | R Documentation |
takes a vector of strings, adds a Babel style import statement
add_import_component(
target,
component.name,
component.path,
keyword = "export default",
package = FALSE
)
target |
vector to add import statement in. |
component.name |
name of component to import. |
component.path |
path to "import" from. |
keyword |
to use as anchor to add import statement. |
package |
is the import statement for a package?
TODO: multiple or |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.