I am doing this in react native code, eslint is showing error for line ref="drawer"
[eslint] Using string literals in ref attributes is deprecated.
What is correct way to do this.
<DrawerLayoutAndroid
drawerWidth={300}
ref="drawer"
drawerPosition={DrawerLayoutAndroid.positions.Left}
renderNavigationView={() => navigationView}
</DrawerLayoutAndroid>