crazy
This commit is contained in:
11
frontend/src/components/camera/CameraOptions.jsx
Normal file
11
frontend/src/components/camera/CameraOptions.jsx
Normal 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;
|
||||
Reference in New Issue
Block a user