aksonov/react-native-tableview

Mixing Cell and Item in the TableView Does not Work

Open

#29 建立於 2015年10月29日

在 GitHub 查看
 (8 留言) (0 反應) (0 負責人)Objective-C (179 fork)github user discovery
enhancementhelp wanted

倉庫指標

Star
 (1,410 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

I have:

                    <TableView style={{flex: 1, paddingTop: 20}}>
                        <Section label="Section 1">
                            <Cell><Text>Item 1</Text></Cell>
                        </Section>

                        <Section label="Section 2">
                            <Item>Item 2</Item>
                        </Section>
                    </TableView>

but all I see is: image

If I remove <Cell><Text>Item 1</Text></Cell> then the "Item 2" shows up: image

貢獻者指南