create a react native functional component that receives an array of objects, based on this array it creates the same amount of react native switch components with a value of true. The  component needs to keep track  of all switch components changes