Socket
Socket
Sign inDemoInstall

react-native-collapsingtoolbar-parallax-header

Package Overview
Dependencies
0
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-native-collapsingtoolbar-parallax-header

react native collapsing Toolbar


Version published
Weekly downloads
2
Maintainers
1
Install size
6.88 MB
Created
Weekly downloads
 

Readme

Source

React-native-collapsingtoolbar-parallax-header

Screen Shot

 

Getting Started

$ npm i react-native-collapsingtoolbar-parallax-header 

or


$ yarn add react-native-collapsingtoolbar-parallax-header

Usage

Import the component:

    import CollapsingToolbar from 'react-native-collapsingtoolbar-parallax-header';
    import Icon from 'react-native-vector-icons/Ionicons'; 

    <CollapsingToolbar 
        leftItem={<Icon name="md-menu" size={30} color="#fff" />}
        rightItem={<Icon name="md-create" size={30}  color="#fff" />}   
        toolbarColor='#2196f3'  
        title='Demo Toolbar'
        src={require('../../../images/drawer6.png')}>
        <Text>
            Create             
        </Text>
    </CollapsingToolbar>

Props

PropTypeDefaultdescription
srcobjectrequire('img.png') or {uri: url}
titlestringHometoolbar title
titleColorstring#ffftoolbar title text color
toolbarColorstring#e91e63toolbar background color
toolbarMaxHeightnumber300maximum height of toolbar
toolbarMinHeightnumber55minimum height of toolbar
leftItemPropTypes.elementtoolbar left menu item
leftItemPressfunc
leftItemPropTypes.elementtoolbar right item
rightItemPressfunc

Keywords

FAQs

Last updated on 01 May 2018

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc