index.tsx
1 import React from 'react'; 2 import ReactDOM from 'react-dom/client'; 3 import './index.css'; 4 import './output.css'; 5 import App from './App'; 6 import reportWebVitals from './reportWebVitals'; 7 import { ThemeProvider } from "@material-tailwind/react"; 8 const root = ReactDOM.createRoot( 9 document.getElementById('root') as HTMLElement 10 ); 11 root.render( 12 <React.StrictMode> 13 <ThemeProvider> 14 <App /> 15 </ThemeProvider> 16 </React.StrictMode> 17 ); 18 19 // If you want to start measuring performance in your app, pass a function 20 // to log results (for example: reportWebVitals(console.log)) 21 // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals 22 reportWebVitals();