How do I change background color with Switch?

Hello guys ,
I am new here and to react native also.

I want to change background color with the help of Switch, how do I do it?

can anyone tell me what should be my approach ?