0.0.13 • Published 2 years ago

@tanmaya_pradhan/animated-collapsible-header v0.0.13

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

React Native animated-collapsible-header


Installation

npm install --save @tanmaya_pradhan/animated-collapsible-header
npm install --save react-native-svg

Usage

To use the collapsible header you must import AnimatedHeaderScreen

import AnimatedHeaderScreen from '@tanmaya_pradhan/animated-collapsible-header';

Declarative Usage

<AnimatedHeaderScreen headerLabel='Welcome' descLabel='React Native' headerStyle={{backgroundColor: '#024aad'}} />

collapsible-header

Properties

PropDescriptionDefault
headerLabelName the Header title‘Welcome’
headerLabelFontFamilyFont family of the Header titleDefault
renderItemThis is the list view which will be shown in FlatList renderItemdefault list
listDataThis is the list data which will be shown in FlatList dataDefault
descLabelName the Description title'React Native'
descLabelFontFamilyFont family of the Description titleDefault
iconCenter iconDefault
headerHeightHeight of the Header after collapsing and expandingheaderHeight = {large: 250, collapse: 120}
circleHeightCenter icon height after collapsing and expandingcircleHeight = {large: 150, collapse: 80}
fontSizeFontSize after collapsing and expandingfontSize = {large: 30, collapse: 20}
headerStyleHeader background colour changeheaderStyle={backgroundColor: '#024aad'}
onIconPressCenter icon clickDefault
borderSvgColorBorder color'#D9FAFB'
headerBottomRadiusBottom border radius50
borderSvgWidthheader border width4
0.0.13

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago