/** * External dependencies */ import { __ } from '@wordpress/i18n'; import PropTypes from 'prop-types'; import { Icon, comment, external } from '@woocommerce/icons'; /** * Internal dependencies */ import './style.scss'; /** * Component to render a Feedback prompt in the sidebar. * * @param {Object} props Incoming props for the component. * @param {string} props.text * @param {string} props.url */ const FeedbackPrompt = ( { text, url = 'https://ideas.woocommerce.com/forums/133476-woocommerce?category_id=384565', } ) => { return (
{ text }
{ __( 'Give us your feedback.', 'woo-gutenberg-products-block' ) }