Skip to content

donaldmorton/react-native-bottom-drawer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

react-native-bottom-drawer

Install

npm install react-native-bottom-drawer --save

Demo

Basic example

 <Drawer
    initialDrawerSize={0.10}
    onDragDown={this.onDragDown.bind(this)}
    renderContainerView={()=><View style={{flex:1}}></View>}
    renderHandle={()=><Header></Header>}
    renderDrawerView={()=>(
    <View style={{height:'100%',backgroundColor:'rgba(0, 0, 0, 0.51)'}}>
       <Content>
          <List dataArray={items} renderRow={(data) =>
                <ListItem>
                   <Text>{data}</Text>
                </ListItem>
             } />
          </Content>
    </View>)}
 />

Based on react-native-draggable-drawer

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published