I have following code:
import React, { useState } from "react";
import "./styles.css";
export default function App() {
const [border, setBorder] = useState(false);
return (
<div className="App">
<div className="SectionTitleItem">Claimers</div>
<div className="SectionTitleItem">Resources</div>
</div>
);
}
How can I set the border-bottom
only for the active item?