Open rohananarse opened 7 years ago
Have you tried adding some kind of list as the content?
+1. I too am searching for the answer. I tried adding array to content but it shows all the elements of array as a single content
Same here :/ I'm still stuck at it
On Sep 5, 2017 2:07 PM, "Aishwarya Surana" notifications@github.com wrote:
+1. I too am searching for the answer. I tried adding array to content but it shows all the elements of array as a single content
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/naoufal/react-native-accordion/issues/51#issuecomment-327109914, or mute the thread https://github.com/notifications/unsubscribe-auth/AYUqmVoFe2i3hY8-XP-gwby9AbktUz3wks5sfQhegaJpZM4NaVdb .
Just past a custom component with the list.
const content = (<ListView style={{height: 150}}>....</ListView>)
U have working example ?
On Oct 19, 2017 7:21 AM, "Ernesto R. C. Pereda" notifications@github.com wrote:
Just past a custom component with the list.
const content = (<ListView style={{height: 150}}>....)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/naoufal/react-native-accordion/issues/51#issuecomment-337776414, or mute the thread https://github.com/notifications/unsubscribe-auth/AYUqmWjt1oEO94C8kZ1g4UQ8DmGJlmXQks5stqsagaJpZM4NaVdb .
@rohananarse I'm not using this component exactly I forked some time ago. You can install it from https://www.npmjs.com/package/@ercpereda/react-native-accordion
.
To checkout a working example with expo visit this url exp://exp.host/@ercpereda/react-native-accordion-example
The source code of the example is in https://github.com/ercpereda/react-native-accordion-example
How can I add list inside accordion instead of content. ?? Please help