Open the group, tap the group name, find the person you want to promote, tap them and choose Make group admin. Do that before you leave, because if you are the only admin and leave, WhatsApp picks a random member as admin, which you may not want. Once the new admin is set, you can exit cleanly.
Open the group, tap the group name, find the person in the member list, tap them and choose Make group admin. Once they have it you can leave and the group keeps running.
Promote at least two admins before you go, not one. If your single new admin ever leaves or loses their number, the group is stuck with nobody who can manage it.
Open the group, tap a member, Make group admin, then leave. Promote at least two admins before you go, so the group is not stranded if your single new admin ever leaves.