All files / src/WelcomePages/WelcomePage1 WelcomePage1.jsx

100% Statements 2/2
100% Branches 0/0
100% Functions 1/1
100% Lines 2/2

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17            1x 4x                  
// @flow
 
import React from 'react';
import { Welcome, FourImagesBg, WelcomeAuthButtons, WelcomeButton } from '@/components';
import { welcomeButtons, authButtons, images } from './data';
 
export const WelcomePage1 = (): React.Node => (
	<FourImagesBg imagesUrls={images}>
		<Welcome buttons={welcomeButtons}>
			<WelcomeAuthButtons>
				<WelcomeButton title={authButtons[0].title} onClick={authButtons[0].onClick} />
				<WelcomeButton title={authButtons[1].title} onClick={authButtons[1].onClick} />
			</WelcomeAuthButtons>
		</Welcome>
	</FourImagesBg>
);