mirror of
https://github.com/pavlobu/deskreen.git
synced 2025-05-18 08:20:10 -07:00
30 lines
882 B
TypeScript
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;
|