Cut the beef into bite-sized pieces.
Thinly slice the onion.
Stir-fry the beef in a heated pan.
Season the beef with salt and pepper.
Add the onions and stir-fry together.
Place the beef and onions on top of the rice.
Drizzle with mayonnaise to finish.