Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
rich-maker
Commits
241929b4
Commit
241929b4
authored
Aug 03, 2021
by
Soo Hyun Kim
Browse files
0803 아코디언 변경 전
parent
777c9deb
Changes
1
Hide whitespace changes
Inline
Side-by-side
components/Accordion.js
View file @
241929b4
...
@@ -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
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment