import React from 'react' ; import Iframe from '../../Iframe/Iframe' ; interface Props { searchQuery : string ; } function param { string } searchQuery returns { JSX . Element } const GoogleSearch = ( { searchQuery } ) : JSX . Element => { return ( < Iframe iframeSrc = { `https://www.bing.com/search?q=${ searchQuery }` } iframeSize = { { width : '100%' , height : '100%' } } title = { 'Bing' } style = { { border : 'none' , } } />); } ; export default GoogleSearch ;