-
dispatch({ type: 'reference1' })}
- id="reference1"
- style={{
- display: 'block',
- backgroundColor: 'red',
- height: '50px',
- width: '100px',
- }}
- >
-
dispatch({ type: 'reference2' })}
- id="reference2"
- style={{
- display: 'block',
- backgroundColor: 'red',
- height: '50px',
- width: '100px',
- alignSelf: 'flex-start',
- }}
- >
-
-
dispatch({ type: 'reference3' })}
- id="reference3"
- style={{
- display: 'block',
- backgroundColor: 'red',
- height: '50px',
- width: '100px',
- }}
- >
-
-
- {state.reference === 'reference1' ? (
- dispatch({ type: 'reference2' })}
- handleCloseAction={() => dispatch({ type: 'isVisible' })}
- currentStep={1}
- stepMax={3}
- closeWithX
- />
- ) : null}
-
- {state.reference === 'reference2' ? (
- dispatch({ type: 'reference3' })}
- handleCloseAction={() => dispatch({ type: 'isVisible' })}
- currentStep={2}
- stepMax={3}
- closeWithX
- />
- ) : null}
-
- {state.reference === 'reference3' ? (
- dispatch({ type: 'isVisible' })}
- handleCloseAction={() => {
- dispatch({ type: 'isVisible' });
- }}
- currentStep={3}
- stepMax={3}
- closeWithX
- />
- ) : null}
-
-