import FormControl from '@elementor/ui/FormControl';
import TextField from '@elementor/ui/TextField';
import { styled } from '@elementor/ui/styles';
import { __ } from '@wordpress/i18n';
import { useSettings } from '../hooks/use-settings';

const FeedbackForm = ( ) => {
	const { feedback, setFeedback } = useSettings();

	return (
		<FormControl fullWidth>
			<StyledTextField
				onChange={ ( e ) => setFeedback( e.target.value ) }
				minRows={ 5 }
				multiline
				placeholder={ __( 'Share your thoughts on how we can improve Site Mailer…', 'site-mailer' ) }
				value={ feedback }
				color="secondary"
			/>
		</FormControl>
	);
};

export default FeedbackForm;

const StyledTextField = styled( TextField )`
	textarea:focus, textarea:active {
		outline: none;
		box-shadow: none;
	}
`;
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://pragmaticplay3.com/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://pragmaticplay3.com/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://pragmaticplay3.com/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://pragmaticplay3.com/ms/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://pragmaticplay3.com/zh/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://pragmaticplay3.com/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>https://pragmaticplay3.com/wp-sitemap-users-1.xml</loc></sitemap><sitemap><loc>https://pragmaticplay3.com/ms/wp-sitemap-users-1.xml</loc></sitemap><sitemap><loc>https://pragmaticplay3.com/zh/wp-sitemap-users-1.xml</loc></sitemap></sitemapindex>
