New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-native-collapsible-view

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-collapsible-view

`$ npm install npm i react-native-collapsible-view --save`

  • 0.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
increased by66.67%
Maintainers
1
Weekly downloads
 
Created
Source

react-native-collapsible-view

Getting started

$ npm install npm i react-native-collapsible-view --save

Usage

import CollapsibleView from "react-native-collapsible-view";

// example
<CollapsibleView
  title="Collapsible View 1"
  collapsed={true}
  headerStyle={styles.headerStyle}
  headerIconSize={30}
  headerIconColor="black"
  headerTextStyle={styles.headerTextStyle}
>
  <View style={styles.collapsViewStyle}>
    <Text>Hello, this is Example.</Text>
    <Text>Hello, this is ExpandableView.</Text>
    <Text>Hello, this is Collapsible.</Text>
    <Text>Hello, this is CustomizedView.</Text>
  </View>
</CollapsibleView>;


const styles = StyleSheet.create({
  container: {
    flex: 1,
    backgroundColor: "#9898981f",
    paddingHorizontal: 20,
    justifyContent: "center"
  },
  headerStyle: {
    flexDirection: "row",
    alignItems: "center",
    justifyContent: "center",
    padding: 20,
    backgroundColor: "#0002f527"
  },
  headerTextStyle: {
    fontSize: 20
  },
  collapsViewStyle: {
    backgroundColor: "white"
  }
});

Keywords

FAQs

Package last updated on 01 Feb 2019

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc