react-mgid-widget
Embed your MGID widget inside a react app
Installation & Usage
npm install react-mgid-widget --save
Include the Component
Component { return <MgidWidget id='M284163ScriptRootC983763' src='https://jsc.mgid.com/s/a/samplepage.mgid.com.983763.js'/> }
Props
Name | Type |
---|---|
id | string |
src | string |