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

贡献者指南