diff --git a/packages/block-library/src/group/edit.js b/packages/block-library/src/group/edit.js
index c5588f3b73bb1..02c019eafbd65 100644
--- a/packages/block-library/src/group/edit.js
+++ b/packages/block-library/src/group/edit.js
@@ -9,7 +9,7 @@ import {
useInnerBlocksProps,
store as blockEditorStore,
} from '@wordpress/block-editor';
-import { SelectControl } from '@wordpress/components';
+import { SelectControl, TextControl } from '@wordpress/components';
import { useRef } from '@wordpress/element';
import { __ } from '@wordpress/i18n';
import { View } from '@wordpress/primitives';
@@ -23,13 +23,14 @@ import { htmlElementMessages } from '../utils/messages';
/**
* Render inspector controls for the Group block.
*
- * @param {Object} props Component props.
- * @param {string} props.tagName The HTML tag name.
- * @param {Function} props.onSelectTagName onChange function for the SelectControl.
- *
- * @return {JSX.Element} The control group.
+ * @param {Object} props Component props.
+ * @param {Object} props.attributes Block attributes.
+ * @param {(attributes: Object) => void} props.setAttributes Callback for updating block attributes.
+ * @return {JSX.Element} The control group.
*/
-function GroupEditControls( { tagName, onSelectTagName } ) {
+function GroupEditControls( { attributes, setAttributes } ) {
+ const { tagName, ariaLabel } = attributes;
+
return (
', value: 'article' },
{ label: '
);
}
@@ -125,10 +146,8 @@ function GroupEdit( { attributes, name, setAttributes, clientId } ) {
return (
<>
- setAttributes( { tagName: value } )
- }
+ attributes={ attributes }
+ setAttributes={ setAttributes }
/>
{ showPlaceholder && (