Skip to content

Added hide phone prop megamenu#140

Merged
Calinator444 merged 3 commits intomainfrom
add-hide-phone-prop-megamenu
Feb 3, 2026
Merged

Added hide phone prop megamenu#140
Calinator444 merged 3 commits intomainfrom
add-hide-phone-prop-megamenu

Conversation

@Calinator444
Copy link
Member

@Calinator444 Calinator444 commented Feb 3, 2026

This PR adds a "hidePhone" prop to the megamenu that hides the contact us button.

I decided to make this a prop for the megamenu itself so that consumers of the package could hide/show the button in a way thats framework independent.

Fixed: #106

CleanShot 2026-02-03 at 14 43 51

Figure: Megamenu with "hidePhone" enabled

Copy link
Member

@AttackOnMorty AttackOnMorty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Calinator444 Calinator444 merged commit 747e6f6 into main Feb 3, 2026
1 check passed
@Calinator444 Calinator444 deleted the add-hide-phone-prop-megamenu branch February 3, 2026 04:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

♻️ Make the “Contact Us” button invisible on the Contact us page

2 participants