@ntakemori/rn-bottom-drawer

Bottom drawer for react native

Usage no npm install needed!

<script type="module">
  import ntakemoriRnBottomDrawer from 'https://cdn.skypack.dev/@ntakemori/rn-bottom-drawer';
</script>

README

react-native-bottom-drawer

Updated version of github.com/jacklein/rn-bottom-drawer Credit to jacklein for the logic

install with npm install react-native-bottom-drawer

required:

containerHeight - integer - height of the drawer

borderRadius - integer - borderRadius of top left/right of drawer

startUp - boolean - starts up or down position

downDisplay - integer - height of drawer when in down position

offset - integer - offset of drawer

functions (non mandatory):

onExpand() - called on expand

onCollapse() - called on collapse