mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-09 14:45:35 +00:00
remove file
This commit is contained in:
@@ -1,34 +0,0 @@
|
|||||||
import React, { Component, PropTypes } from 'react';
|
|
||||||
|
|
||||||
export default class Ad extends Component {
|
|
||||||
static propTypes = {
|
|
||||||
client: PropTypes.string,
|
|
||||||
slot: PropTypes.string,
|
|
||||||
format: PropTypes.string,
|
|
||||||
wrapperDivStyle: PropTypes.object
|
|
||||||
};
|
|
||||||
constructor(props) {
|
|
||||||
super(props);
|
|
||||||
}
|
|
||||||
// This code is ran when the component mounts
|
|
||||||
componentDidMount() {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
// an outer div for styling purposes
|
|
||||||
// changed class to ClassName
|
|
||||||
// changed style from string to an object
|
|
||||||
|
|
||||||
render() {
|
|
||||||
return (
|
|
||||||
<div style={this.props.wrapperDivStyle}>
|
|
||||||
<ins
|
|
||||||
className="adsbygoogle"
|
|
||||||
style={{ display: 'block' }}
|
|
||||||
data-ad-client={this.props.client}
|
|
||||||
data-ad-slot={this.props.slot}
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user