-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into 4338---theme-object-style-changes
- Loading branch information
Showing
1 changed file
with
0 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,9 +19,6 @@ import { routes } from './Routing'; | |
import { ExampleHome } from '../screens/ExampleHome'; | ||
import i18nAppInstance from '../translations/i18n'; | ||
import { ChangePassword } from '../components/ChangePassword'; | ||
import { AlarmAdd, Home } from '@mui/icons-material'; | ||
import Fan from '@brightlayer-ui/icons-mui/Fan'; | ||
import EatonLogo from '../assets/images/eaton_stacked_logo.png'; | ||
|
||
export const AppRouter: React.FC = () => { | ||
const navigate = useNavigate(); | ||
|
@@ -65,67 +62,6 @@ export const AppRouter: React.FC = () => { | |
path={'/contact-support'} | ||
element={ | ||
<ReactRouterGuestGuard isAuthenticated={app.isAuthenticated} fallBackUrl={'/'}> | ||
{/* <ContactSupportScreen | ||
icon={<AlarmAdd />} | ||
emailSupportTitle={'This is email support title prop'} | ||
emailSupportContent={ | ||
(email: string) => { | ||
return `Send here ${email}` | ||
} | ||
} | ||
phoneSupportTitle={'99674321**'} | ||
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: <Fan />, | ||
action: <Home />, | ||
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 | ||
}} | ||
/> */} | ||
<ContactSupportScreen /> | ||
</ReactRouterGuestGuard> | ||
} | ||
|