import { Formik, Form } from "formik";
import type { CameraSettings } from "../../../../utils/types";

type CameraControlProps = {
  state: CameraSettings;
};

const CameraControls = ({ state }: CameraControlProps) => {
  console.log(state);
  const initialValues = {};

  const handleSumbit = (values: { test?: string }) => {
    console.log(values);
  };
  return (
    <Formik initialValues={initialValues} onSubmit={handleSumbit}>
      <Form>
        <button type="submit" className="p-3 bg-green-700 hover:bg-green-900 rounded-md">
          Save Settings
        </button>
      </Form>
    </Formik>
  );
};

export default CameraControls;
