Wash bok choy and onion thoroughly and cut them into bite-sized pieces.
Heat cooking oil in a pan and stir-fry the onion first.
When the onion becomes translucent, add bok choy and stir-fry quickly over high heat.
Season with salt and pepper.
When the bok choy softens, turn off the heat and transfer to a plate.