import React from 'react';
import Button from '@components/common/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;
