Skip to content

ContextualMenuButton and ContextualMenuAnchor should be combined into one file #4800

@kelseyyoung

Description

@kelseyyoung

Bug Report

  • Package version(s): 5.96.1
  • Browser and OS versions: N/A

Priorities and help requested (not applicable if asking question):

Are you willing to submit a PR to fix? Yes (assigned to myself)

Requested priority: Normal

Products/sites affected: None

Describe the issue:

Recently ContextualMenuButton and ContextualMenuAnchor were created as their own separate components (see PR here). The differences between the two are very small and should be combined into one file where we take in a 'tag' prop to create the correct HTML element. Some of the differences are due to missing content in one or the other when they should exist in both

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions