import { useBlockProps } from '@wordpress/block-editor';
// import { __ } from '@wordpress/i18n';
// import { createElement } from '@wordpress/element';

import './editor.scss';

export default function Save({ attributes }) {
    const {
        url,
        alt,
    } = attributes;

    return ( <div className="seoaic-generated-image-section">
        <img {...useBlockProps.save()} src={ url } alt={ alt }/>
    </div> );
}
