0.1.2 • Published 11 months ago
react-mgid-widget v0.1.2
react-mgid-widget
Embed your MGID widget inside a react app
Installation & Usage
npm install react-mgid-widget --save
Include the Component
import React from 'react'
import { MgidWidget } from 'react-mgid-widget'
class Component extends React.Component {
render() {
return <MgidWidget id='983763' src='https://jsc.mgid.com/site/284163.js'/>
}
}
Props
Name | Type |
---|---|
id | string |
src | string |