/**
 * Balloon block type
 *
 */

import { iconPicture, content, iconName } from '../../utils/example-data';
import deprecated from './deprecated/';
import { ReactComponent as Icon } from './icon.svg';
import edit from './edit';
import metadata from './block.json';
import save from './save';

const { name } = metadata;

export { metadata, name };

export const settings = {
	icon: <Icon />,
	example: {
		attributes: {
			balloonName: iconName,
			balloonType: 'type-speech',
			balloonBgColor: '#f5f5f5',
			balloonAlign: 'position-left',
			IconImage: iconPicture,
			balloonImageType: 'normal',
		},
		innerBlocks: [
			{
				name: 'core/paragraph',
				attributes: {
					content,
				},
			},
		],
	},
	edit,
	save,
	deprecated,
};
