Big News: Socket Selected for OpenAI's Cybersecurity Grant Program.Details
Socket
Book a DemoSign in
Socket

rnx-ui-accordion

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rnx-ui-accordion

RNX UI Component: Accordion

latest
npmnpm
Version
0.0.1
Version published
Weekly downloads
10
900%
Maintainers
1
Weekly downloads
 
Created
Source

Accordion

npm npm

手风琴

API

PropTypeDefaultRequiredDescription
dataarray[]No每项的配置项,like: [{title: "", content: ""}],title必须是字符串,content可以是字符串,也可以是element
opennumber-1No默认展开的项目,设置成-1表示默认不展开,否则展开index === open的项目
onChangefuncnullNo展开项目变化时候的回调

注意

该组件依赖字体文件,需在应用中内置,具体操作请参考 react-native-vector-icons 文档

Keywords

rnx

FAQs

Package last updated on 25 Nov 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts