react-colombia-ads
v1.1.1
Published
A react component for embedding colombia ads
Downloads
19
Readme
react-colombia-ads
A react component for embedding colombia ads
Install
npm install --save react-colombia-ads
Usage
import React, { Component } from 'react'
import { ColumbiaAd } from 'react-colombia-ads'
import 'react-colombia-ads/dist/index.css'
class Example extends Component {
render() {
const colombiaAdStyle = {
minHeight: '2px',
width: '100%'
}
return (
<ColombiaAd
mobileSlotId='<mobile id>'
desktopSlotId='<desktop id>'
style={colombiaAdStyle}
section='ArticleShow'
/>
)
}
}
License
MIT © sharangj