How Do You Charge A 18650 Battery With A Solar Panel?

How Do You Charge A 18650 Battery With A Solar Panel? Connect positive terminal of solar cell to anode of diode. Connect negative terminal of diode to IN+ (input positive) of TP4056. I use diode because of reverse current. Also connect negative terminal of solar cell to IN- (input negative) of TP4056. How do you