什么是创建手风琴视图的最佳 react-native 模块?
What's the best react-native module for creating Accordion view?
我正在寻找为我的 react-native 应用程序实现手风琴列表视图的最佳库。我知道有几个可用的库。但是,就扩展和实施而言,我仍然不知道哪一个最适合手风琴。有什么建议吗?
看看this one:
import Accordion from 'react-native-collapsible/Accordion';
<Accordion
sections={['Section 1', 'Section 2', 'Section 3']}
renderSectionTitle={this._renderSectionTitle}
renderHeader={this._renderHeader}
renderContent={this._renderContent}
/>;
到目前为止我用过很多手风琴,但我推荐的最好的是 React Native Collapsible。它有很多很棒的功能并且易于使用 API。开发者还提供快速响应问题,社区积极维护回购协议。
我正在寻找为我的 react-native 应用程序实现手风琴列表视图的最佳库。我知道有几个可用的库。但是,就扩展和实施而言,我仍然不知道哪一个最适合手风琴。有什么建议吗?
看看this one:
import Accordion from 'react-native-collapsible/Accordion';
<Accordion
sections={['Section 1', 'Section 2', 'Section 3']}
renderSectionTitle={this._renderSectionTitle}
renderHeader={this._renderHeader}
renderContent={this._renderContent}
/>;
到目前为止我用过很多手风琴,但我推荐的最好的是 React Native Collapsible。它有很多很棒的功能并且易于使用 API。开发者还提供快速响应问题,社区积极维护回购协议。