update src/components/Accordion/index.js, src/components/Tabbar/index.js and src/index.js

master
mahdi 2 years ago
parent be63c248fa
commit d12d82bc07
  1. 2
      src/components/Tabbar/index.js
  2. 6
      src/index.js

@ -21,7 +21,7 @@ const Tabbar = ({ tabs }) => {
activeTab === tab activeTab === tab
? "bg-[#F1F3FF] text-[#3C58EA]" ? "bg-[#F1F3FF] text-[#3C58EA]"
: "bg-white text-[#333333]" : "bg-white text-[#333333]"
} w-full p-3 text-sm border border-b-2 border-t-2 border-[#3C58EA]`} } w-full p-3 text-xs border border-b-2 border-t-2 border-[#3C58EA]`}
icon={activeTab === tab ? "images/blue-correct-thick-icon.svg" : ""} icon={activeTab === tab ? "images/blue-correct-thick-icon.svg" : ""}
onClick={() => setActiveTab(tab)} onClick={() => setActiveTab(tab)}
/> />

@ -5,11 +5,7 @@ import App from "./App";
import reportWebVitals from "./reportWebVitals"; import reportWebVitals from "./reportWebVitals";
const root = ReactDOM.createRoot(document.getElementById("root")); const root = ReactDOM.createRoot(document.getElementById("root"));
root.render( root.render(<App />);
<React.StrictMode>
<App />
</React.StrictMode>
);
// If you want to start measuring performance in your app, pass a function // If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log)) // to log results (for example: reportWebVitals(console.log))

Loading…
Cancel
Save