-
Notifications
You must be signed in to change notification settings - Fork 99
feat(mrc): add disable more info prop to onboarding #16383
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
base: develop
Are you sure you want to change the base?
Conversation
4574619
to
ba9b717
Compare
|
packages/manager-react-components/src/components/templates/onboarding/onboarding.component.tsx
Outdated
Show resolved
Hide resolved
packages/manager-react-components/src/components/templates/onboarding/onboarding.component.tsx
Outdated
Show resolved
Hide resolved
packages/manager-react-components/src/components/templates/onboarding/onboarding.component.tsx
Outdated
Show resolved
Hide resolved
packages/manager-react-components/src/components/templates/onboarding/onboarding.component.tsx
Outdated
Show resolved
Hide resolved
packages/manager-react-components/src/components/templates/onboarding/onboarding.component.tsx
Outdated
Show resolved
Hide resolved
ba9b717
to
ff8e097
Compare
moreInfoHref?: string; | ||
moreInfoButtonIcon?: ODS_ICON_NAME; | ||
moreInfoButtonLabel?: string; | ||
onmoreInfoButtonClick?: () => void; |
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.
onmoreInfoButtonClick?: () => void; | |
onMoreInfoButtonClick?: () => void; |
moreInfoHref, | ||
moreInfoButtonLabel, | ||
moreInfoButtonIcon = ODS_ICON_NAME.externalLink, | ||
onmoreInfoButtonClick, |
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.
onmoreInfoButtonClick, | |
onMoreInfoButtonClick, |
if (moreInfoHref) { | ||
window.open(moreInfoHref, '_blank'); | ||
if (!isMoreInfoButtonDisabled) { | ||
onmoreInfoButtonClick?.(); |
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.
onmoreInfoButtonClick?.(); | |
onMoreInfoButtonClick?.(); |
ref: #ISSUE-16382 Signed-off-by: Nicolas Pierre-charles <nicolas.pierre-charles.ext@corp.ovh.com>
ff8e097
to
3cd5678
Compare
Description
Ticket Reference: #...
Additional Information