1
0
mirror of https://github.com/pavlobu/deskreen.git synced 2025-05-18 08:20:10 -07:00
deskreen/app/components/StepsOfStepper/ChooseAppOrScreeenStep.tsx
2020-09-24 19:06:07 +03:00

30 lines
882 B
TypeScript

/* eslint-disable react/destructuring-assignment */
import React from 'react';
import { Text } from '@blueprintjs/core';
import ShareEntireScreenOrAppWindowControlGroup from '../ShareAppOrScreenControlGroup';
interface ChooseAppOrScreeenStepProps {
handleNextEntireScreen: () => void;
handleNextApplicationWindow: () => void;
}
const ChooseAppOrScreeenStep: React.FC<ChooseAppOrScreeenStepProps> = (
props: ChooseAppOrScreeenStepProps
) => {
return (
<>
<div style={{ marginBottom: '10px' }}>
<Text>
Choose Entire Screen or App window you want to view on other device
</Text>
</div>
<ShareEntireScreenOrAppWindowControlGroup
handleNextEntireScreen={props.handleNextEntireScreen}
handleNextApplicationWindow={props.handleNextApplicationWindow}
/>
</>
);
};
export default ChooseAppOrScreeenStep;