Const
const lightMode = ( <div className="flex items-center gap-2 text-slate-700 dark:text-slate-300"> Light <FontAwesomeIcon className="h-4 w-4 text-amber-500" icon={faSun} /> </div>); Copy
const lightMode = ( <div className="flex items-center gap-2 text-slate-700 dark:text-slate-300"> Light <FontAwesomeIcon className="h-4 w-4 text-amber-500" icon={faSun} /> </div>);
Source