MMA301_-_SU_2023_-_2_514.webp
M

MMA301_-_SU_2023_-_2_514.webp

(17
(Choose 1 answer)
<ScrollView
Study the code below and choose the description that describes it accurately:
style={[styles.container,
colorScheme === 'light'? { backgroundColor: '#fff' } : { backgroundColor: '#333333' },]}>
A. This code is valid. It performs conditional styling based on the colorScheme variable. If the value is light, a white background is set; if it has any other value, a dark background is set for the ScrollView
B. This code is invalid. It will throw an error because conditionals cannot be used within the style prop


Thông tin

Category
MMA301
Thêm bởi
minhduc94
Ngày thêm
Lượt xem
2,376
Lượt bình luận
14
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
MMA301_-_SU_2023_-_2_514.webp
File size
57.1 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom