Skip to content

4.0.0 [Breaking Changes]

Compare
Choose a tag to compare
@lukebrandonfarrell lukebrandonfarrell released this 11 Jan 09:32
· 50 commits to master since this release
  • Improve API of SideMenuView 77aae39

We made some breaking changes to the SideMenuView to improve the API. New API works as such:

<SideMenuView
  style={{ flex: 1 }}
  drawerName={'CustomDrawer'}
  direction={'right'}
  passProps={{
    animationOpenTime: 300,
    animationCloseTime: 300,
    dismissWhenTouchOutside: true,
    fadeOpacity: 0.6,
    drawerScreenWidth: '75%',
    drawerScreenHeight: '100%',
    parentComponentId: props.componentId,
    style: {
      backgroundColor: 'white', 
    },
  }}
  options={{
    layout: {
      componentBackgroundColor: 'transparent',
    }
 >

v3.2.0...v4.0.0