/** * Notice Box Wrapper */ // Setup the block const { Component } = wp.element; // Import block dependencies and components import classnames from 'classnames'; import * as uniqueID from './../../../utils/helper'; /** * Create a Notice wrapper Component */ export default class NoticeBox extends Component { constructor( props ) { super( ...arguments ); } render() { // Setup the attributes const { attributes: { noticeTitle, noticeAlignment, noticeBackgroundColor, noticeTextColor, noticeFontSize, noticeDismiss } } = this.props; // Generate a unique ID for the dismissible notice const blockID = uniqueID.generateUniqueID( noticeDismiss + noticeTitle ) return (