Question about circuit to charge switch battery outside of switch

What is the circuit that can be rigged up to charge a switch battery externally with a micro usb port.

Dissasemble a cheap powerbank and solder the battary contacts to a dead board so you can plug in the battary