: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
import { Component } from '@wordpress/element';
import PropTypes from 'prop-types';
import { __ } from '@wordpress/i18n';
import { Button } from '@wordpress/components';
import { DisplayBulkExport } from './';
export class TriggerBulkExportComponent extends Component {
this.state = { compOpen: false };
this.setOpen = this.setOpen.bind( this );
this.setClose = this.setClose.bind( this );
this.setState( { compOpen: true } );
this.setState( { compOpen: false } );
const { state, props, setClose } = this;
const { compOpen } = state;
fetchController: new AbortController(),
style={ { height: '30px', borderRadius: '3px' } }
{ __( 'Bulk Form Exports', 'ninja-forms' ) }
{ compOpen && <DisplayBulkExport data={ data } /> }
TriggerBulkExportComponent.propTypes = {
globalParams: PropTypes.object.isRequired,
bulkExportParams: PropTypes.object.isRequired