Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(headermenu): added typescript types to headermenu #16116

Merged
merged 5 commits into from
Apr 10, 2024

Conversation

Gururajj77
Copy link
Contributor

Closes #13589

Added typescript types for HeaderMenu component

Changelog

New

  • Added types to the props

Changed

  • file name from js to tsx

Testing / Reviewing

Opened new PR as #16104 had commits which were unrelated.

No new observations from testing perspective.

@Gururajj77 Gururajj77 requested a review from a team as a code owner April 2, 2024 15:05
Copy link

netlify bot commented Apr 2, 2024

Deploy Preview for v11-carbon-react ready!

Name Link
🔨 Latest commit 37b91ec
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-react/deploys/66169ad75e7081000837a7a9
😎 Deploy Preview https://deploy-preview-16116--v11-carbon-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member

@tay1orjones tay1orjones left a comment

Choose a reason for hiding this comment

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

Looks pretty good! Just a couple things

packages/react/src/components/UIShell/HeaderMenu.tsx Outdated Show resolved Hide resolved
packages/react/src/components/UIShell/HeaderMenu.tsx Outdated Show resolved Hide resolved
Copy link
Contributor

@guidari guidari left a comment

Choose a reason for hiding this comment

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

LGTM! 🚀
Working as expected after tests

@tay1orjones tay1orjones added this pull request to the merge queue Apr 10, 2024
Merged via the queue into carbon-design-system:main with commit 719b5f4 Apr 10, 2024
20 checks passed
@carbon-automation
Copy link
Contributor

Hey there! v11.55.0 was just released that references this issue/PR.

preetibansalui pushed a commit to tay1orjones/carbon that referenced this pull request Apr 24, 2024
…sign-system#16116)

* refactor(headermenu): added typescript types to headermenu

* Update packages/react/src/components/UIShell/HeaderMenu.tsx

taylor's suggestion

Co-authored-by: Taylor Jones <[email protected]>

* refactor(headermenu): changed customclassname to string literal

* refactor(headermenu): added proptype comments to interface

---------

Co-authored-by: Taylor Jones <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add TypeScript types to HeaderMenu
3 participants