-
Notifications
You must be signed in to change notification settings - Fork 101
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
feat(ui-top-nav-bar): add workaround hack for new topnav design with the old api #1571
Conversation
Preview URL: https://1571--preview-instui.netlify.app |
9e9ca6e
to
c1578ff
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
other than the description it works well :)
/** | ||
* Stay away... | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a proper description. We should also mention that this is a deprecated prop that people should not use
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
/** | ||
* Stay away... | ||
*/ | ||
renderNavbarStartDangerousHack?: React.ReactNode |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe expand the type with HTMLElement if someone wants to add a simple html tag, otherwise nice job.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
regular html tags should be compatible with ReactNode
, at least in my testings it didn't throw any error for them
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a better comment for the prop please.
c1578ff
to
ad3f613
Compare
ad3f613
to
ba3161d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good job
INSTUI-4121
test plan:
renderNavbarStartDangerousHack
prop to thesmallViewportConfig