R/scaffold_widget.R
scaffoldReactWidget.Rd
Add the minimal code required to implement a React.js-based HTML widget to an R package.
scaffoldReactWidget(name, npmPkgs = NULL, edit = interactive())
This function must be executed from the root directory of the package you wish to add the widget to.