mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
16 lines
320 B
JavaScript
16 lines
320 B
JavaScript
|
import React from 'react';
|
||
|
import SilverStripeComponent from 'silverstripe-component';
|
||
|
|
||
|
class CampaignPreview extends SilverStripeComponent {
|
||
|
|
||
|
render() {
|
||
|
return (
|
||
|
<div className="pages-preview">
|
||
|
<iframe src={this.props.previewUrl}></iframe>
|
||
|
</div>
|
||
|
);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default CampaignPreview;
|