MediaUpload – Using Gutenberg editor controls
Upload media to your custom Gutenberg block. Wordpress has made this easy with the MediaUpload component that is part of the block editor.
Toggle Control – Using Gutenberg editor controls
The Form Toggle control is basically like a checkbox, a boolean control, or if you will, an on/off switch. It’s by far the most common control we use when building blocks.
How to code the Inspector Controls?
The Inspector Controls are the settings in the sidebar of Gutenberg blocks. In code it is a React component used in the edit-function of a block.