Skip to content

Utilise LinkUI component in Navigation Submenu #46207

@getdave

Description

@getdave

The Nav Submenu block implements a lot of the same functionality as the Nav Link block.

Specifically I've noticed that the handling of creation of links is nearly identical.

In # we extracted the implementation of the Link UI to a <LinkUI> component within the Navigation Link block directly. Let's utilise this inside the Submenu block as well.

As both block's are within the block-library package it should be easy enough to achieve.

Metadata

Metadata

Assignees

Labels

[Block] SubmenuAffects the Submenu Block - for submenus in navigation[Type] Code QualityIssues or PRs that relate to code quality

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions