File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,8 +3,9 @@ import { useDispatch, useSelector } from 'react-redux'
33
44import styles from './returnUserExperience.module.css'
55import RuxInfo from 'src/ReturnUserExperience/RuxInfo'
6- import { RuxPhoneNumber } from 'src/ReturnUserExperience/RuxPhoneNumber'
6+ import RuxPhoneNumber from 'src/ReturnUserExperience/RuxPhoneNumber'
77import RuxOtp from 'src/ReturnUserExperience/RuxOtp'
8+ import RuxList from 'src/ReturnUserExperience/RuxList'
89
910import { Stack } from '@mui/material'
1011import { Icon } from '@mxenabled/mxui'
@@ -89,7 +90,7 @@ export const ReturnUserExperience = React.forwardRef(() => {
8990
9091 { view === RUXViews . OTP && < RuxOtp /> }
9192
92- { view === RUXViews . LIST && < div > { __ ( 'List of connections goes here.' ) } </ div > }
93+ { view === RUXViews . LIST && < RuxList / >}
9394 </ div >
9495 )
9596} )
Original file line number Diff line number Diff line change 1+ import React from 'react'
2+ import Stack from '@mui/material/Stack'
3+ import { Text } from '@mxenabled/mxui'
4+ import { Icon } from '@mxenabled/mxui'
5+ import Button from '@mui/material/Button'
6+
7+ import { __ } from 'src/utilities/Intl'
8+ import styles from './returnUserExperience.module.css'
9+
10+ export const RuxList = ( ) => {
11+ return (
12+ < >
13+ < Text variant = "h2" > { __ ( 'Select your institution' ) } </ Text >
14+ < Text variant = "subtitle1" >
15+ { __ ( 'Choose a previously connected institution or add a new one.' ) }
16+ </ Text >
17+
18+ { /* Connections list goes here */ }
19+ < p > Connections list goes here</ p >
20+
21+ < Stack className = { styles . buttonContainer } spacing = "8px" >
22+ < Button variant = "outlined" >
23+ < Icon name = "plus" /> { __ ( 'Connect new institution' ) }
24+ </ Button >
25+ < Text variant = "subtitle2" >
26+ { __ ( 'Disconnect accounts from MX anytime by contacting support.' ) }
27+ </ Text >
28+ </ Stack >
29+ </ >
30+ )
31+ }
32+
33+ export default RuxList
You can’t perform that action at this time.
0 commit comments