Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@cawfree/react-native-collapsible-view

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cawfree/react-native-collapsible-view

A <Collapsible/> component for react-native that plays nicely with Android.

  • 1.0.13
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

react-native-collapsible-view

A <Collapsible/> component for react-native that plays nicely with Android.

🚀 Getting Started

Using npm:

npm install --save @cawfree/react-native-collapsible-view

Using yarn:

yarn add @cawfree/react-native-collapsible-view

✍️ Usage

import React from 'react';
import { View, Text } from 'react-native';
import Collapsible from '@cawfree/react-native-collapsible-view';

export default ({ collapsed, ...nextProps }) => (
  <Collapsible
    collapsed={collapsed}
    duration={500}
  >
    <View
      style={{
        width: 100,
        height: 100,
        backgroundColor: 'orange',
        alignItems: 'center',
        justifyContent: 'center',
      }}
    >
      <Text
      >
        {'Boo!'}
      </Text>
    <View>
  </Collapsible>
);

✌️ License

MIT

Keywords

FAQs

Package last updated on 01 Aug 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