Phones and tablets: two layouts
Your task Replace const wide = false; with two lines: const { width } = useWindowDimensions(); and const wide = width >= 600;. Then set the direction: flexDirection: wide ? "row" : "column".
Getting the editor ready
Your task Replace const wide = false; with two lines: const { width } = useWindowDimensions(); and const wide = width >= 600;. Then set the direction: flexDirection: wide ? "row" : "column".
Getting the editor ready