I'm using the react version of onsen-ui. Is there a good way to add a list into another list? I'm looking for something like jQueryMobile's collapsible/accordion lists.
In case others are curious, it actually wasn't that big a deal.
The pseudo-code (notice, no tappable
on the parent ListItem
):
<List
<ListItem>
Category name
<List className="childList"
<ListItem tappable>Item name</ListItem>
/>
>
The CSS:
.list.childList {
width: 100%;
border: 0;
}
It looks like this on Android:
It looks like this on iOS: