/**
* WordPress dependencies
*/
import { TextControl } from '@safe-wordpress/components';
import { _x } from '@safe-wordpress/i18n';
/**
* External dependencies
*/
import { TextFieldControl } from '@nelio/forms/components';
import type { ActionEditProps } from '@nelio/forms/types';
/**
* Internal dependencies
*/
import type { EmailNotification } from './types';
const Edit = ( props: ActionEditProps< EmailNotification > ): JSX.Element => {
const { name, setName, attributes, setAttributes } = props;
const { to, from, replyTo, subject, message } = attributes;
return (
<>
setAttributes( { to: value } ) }
/>
setAttributes( { from: value } ) }
/>
setAttributes( { replyTo: value } ) }
/>
setAttributes( { subject: value } ) }
/>
setAttributes( { message: value } ) }
/>
>
);
};
export default Edit;