react-umd-component-loader
v1.0.4
Published
Render React Component From Online UMD script
Downloads
5
Maintainers
Readme
react-umd-component-loader
Install
npm i -S react-umd-component-loader
Example
import React from 'react';
import RC from 'react-umd-component-loader'
const Foo: React.FC = () => {
return <RC loader={["https://unpkg.com/react-fc-example@latest/index.umd.js", "yourModuleName"]} args={{ foo:"foo" }}>
};