/**
* WordPress dependencies
*/
import { __ } from '@wordpress/i18n';
import { createInterpolateElement } from '@wordpress/element';
/**
* SolidWP dependencies
*/
import { Text, TextSize } from '@ithemes/ui';
/**
* Internal dependencies
*/
import { FormTextInput } from '../../../../components/form';
import { StyledSurface, StyledSurfaceHeader } from '../../../../assets/common';
function MailgunConnector( { model, handleInputChange, errors, texts } ) {
return (
<>
{ __( 'Sender Setting', 'LION' ) }
{ texts.sender_heading_text }
{
handleInputChange( 'from_email', value );
} }
help={ texts.from_email }
/>
{
handleInputChange( 'from_name', value );
} }
help={ texts.from_name }
/>
{ __( 'SMTP Settings', 'LION' ) }
{ createInterpolateElement(
__( 'Mailgun is a comprehensive email automation platform with APIs for sending, receiving, and tracking emails. For pricing information visit here. For configuration information, visit here.', 'LION' ),
{
// eslint-disable-next-line jsx-a11y/anchor-has-content
pricing: ,
// eslint-disable-next-line jsx-a11y/anchor-has-content
help: ,
}
) }
{
handleInputChange( 'smtp_username', value );
} }
help={ texts.smtp_username }
/>
{
handleInputChange( 'smtp_password', value );
} }
help={ texts.smtp_password }
/>
>
);
}
export default MailgunConnector;