Answer (Choose 1 answer)
Study the code below and select the image that best represents how the code will render on the emulator.
import React from "react":
import { View, Text } from "react-native":
const ViewBoxes WithColorAndText = () => {
return (
<View
style={{
flexDirection: "row".
height: 100.padding: 20
}}
>
<View style={{ backgroundColor: "blue", flex: 0.5}} /><View style={{ backgroundColor: "red", flex: 0.3 }} /></View>
Figure 1
Figure 2
Figure 3
export default ViewBoxes WithColorAndText;
A. Figure 3
B. Figure 1
C. Figure 2
Exit 15