Job titles don't may not mean much while you are at the same company, but once people review your CV, it's a BIG deal. Having a leadership experience opens doors like no other, both on the amount of offers and salary.
The catch is that you will be expected to have lot more soft skills - raw coding chops are not that important for an engineer, even less for a team lead. If you are up for this, and you feel fine at this company, it's probably worth to stay in the lead position for ~1y and then look around with your refreshed CV.