

// src/index.js
import MyComponent from './App'; // Adjust the path if needed



import React from 'react';
import { createRoot } from 'react-dom/client';
import OpenCvButton from './OpenCvButton.js';
import App from './App.js'
import './index.css';

const container = document.getElementById('root');
const root = createRoot(container);

root.render(
  <React.StrictMode>
    <OpenCvButton />
  </React.StrictMode>
);

export default MyComponent;
// import React from 'react';
// import ReactDOM from 'react-dom';
// import OpenCvButton from './OpenCvButton';
// import './index.css';

// ReactDOM.render(
//   <React.StrictMode>
//     <OpenCvButton />
//   </React.StrictMode>,
//   document.getElementById('root')
// );
