Deprecated function not working in Gutenberg

Looking at the documentation from https://developer.wordpress.org/block-editor/developers/block-api/block-deprecation/ I think you may need the following migrate( { text } ) { return { content: text }; }, So in your case: migrate( { avatarSize } ) { avatarSize: { type: ‘number’, default: 70 } content: text }; }, Hopefully points you in the correct direction

How to change Block Controls Icon in Gutenberg?

There is a controls prop you can use which is an object. It goes inside. Controls has an icon key which takes a string which corresponds to a Dashicon slug. <BLockControls controls={[ icon=”wordpress” title=__(“Test”, “gutenberg-examples”), onClick: () => { doSomething }, isActive: false ]} />

deneme bonusu veren sitelerbahis casinomakrobetceltabetpinbahispolobetpolobet girişpinbahis girişmakrobet girişpulibet girişmobilbahis girişkolaybet giriş