import React from 'react' import { Dialog, Stack } from '@wordpress/ui' import YouTube, { YouTubeProps } from 'react-youtube' import { useI18n } from '@wordpress/react-i18n' import thumbnail from '../../assets/img/video-thumbnail.png' const PLAYER_OPTIONS: YouTubeProps['opts'] = { width: '640', height: '390', playerVars: { autoplay: 1, }, } const playWhenReady: YouTubeProps['onReady'] = event => event.target.playVideo() const Video = () => { const { __ } = useI18n() const title = __( 'How to set up Posten Bring Checkout', 'posten-bring-checkout' ) return (

{title}

{title}
) } export default Video