VNR202_-_SU_2023_-_FE_59.webp
N

VNR202_-_SU_2023_-_FE_59.webp

17
(Choose 1 answer)
A B
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
FUOVERFLO.COM
antoni
Ext

Thông tin

Category
VNR202
Thêm bởi
Ngọc Huyền
Ngày thêm
Lượt xem
783
Lượt bình luận
5
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom