This commit is contained in:
2020-05-25 20:59:33 +03:00
parent 2e4f90d8ff
commit 81bf9dc585
25 changed files with 614 additions and 132 deletions

View File

@@ -0,0 +1,11 @@
import React from 'react';
import Button from '@components/Button';
const CameraOptions = ({ capture, changeCameraView }) => (
<div className="row button-container">
<Button text="Switch camera" onClick={changeCameraView} />
<Button text="Take image" onClick={capture} />
</div>
);
export default CameraOptions;