Fix emailSupportContent and phoneSupportContent prop #472
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes 4700 .
Changes proposed in this Pull Request:
Screenshots / Screen Recording (if applicable)
To Test:
<ContactSupportScreen icon={<AlarmAdd />} emailSupportTitle={'This is email support title prop'} emailSupportContent={ (email: string) => { return
Send here ${email}} } phoneSupportTitle={'123-456-6798'} phoneSupportContent={ (phone: string) => { return
Call here ${phone}`}
}
contactEmail={
'[email protected]'
}
contactPhone='012-3404949-494'
dismissButtonLabel={
'Dismiss'
}
onDismiss={
() => {
console.log('Dismiss function called')
}
}
WorkflowCardBaseProps={{
loading: false,
backgroundImage: EatonLogo,
}}
WorkflowCardHeaderProps={{
avatar: ,
action: ,
title: 'This is a Contact Header',
}}
WorkflowCardInstructionProps={
{
instructions: 'This is a Contact Screen',
divider: false,
title: 'This is contact screen title'
}
}
WorkflowCardActionsProps={{
divider: false,
showPrevious: true,
canGoPrevious: true,
previousLabel: 'prev',
onPrevious: (): void => {
console.log('Previous button called');
},
showNext: true,
canGoNext: true,
nextLabel: 'next',
onNext: (): void => {
console.log('Next button called');
},
currentStep: 1,
totalSteps: 3,
fullWidthButton: true
}}
/>
`
Any specific feedback you are looking for?