Commit 241929b4 authored by Soo Hyun Kim's avatar Soo Hyun Kim
Browse files

0803 아코디언 변경 전

parent 777c9deb
...@@ -98,8 +98,7 @@ const Accordion = ({ ...@@ -98,8 +98,7 @@ const Accordion = ({
}, },
]}> ]}>
<View style={[style.boxContainer]}> <View style={[style.boxContainer]}>
<Text>D</Text> <TouchableOpacity onPress={() => { setOpen(!open) }}>
<TouchableOpacity style={style.zIndex} onPress={() => { setOpen(!open) }}>
{children} {children}
</TouchableOpacity> </TouchableOpacity>
</View> </View>
...@@ -113,7 +112,6 @@ const Accordion = ({ ...@@ -113,7 +112,6 @@ const Accordion = ({
], ],
}} }}
onLayout={handleBodyLayout}> onLayout={handleBodyLayout}>
<Text style={{ backgroundColor: 'red' }}>테스트</Text>
<FlatList <FlatList
data={subItems} data={subItems}
renderItem={renderOptionItem} renderItem={renderOptionItem}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment