Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
bottom: 0,
},
main: {
flex: 1,
},
overlay: {
backgroundColor: '#000',
position: 'absolute',
top: 0,
left: 0,
bottom: 0,
right: 0,
},
});
export default applyNativeMethods(DrawerLayout);
firstChild: {
borderTopLeftRadius: 3,
borderBottomLeftRadius: 3,
borderRightWidth: 0,
},
otherChild: {
borderRightWidth: 0,
},
lastChild: {
borderTopRightRadius: 3,
borderBottomRightRadius: 3,
borderRightWidth: 1,
},
});
export default applyNativeMethods(SegmentedControl);
offset: 0
}
});
this._scrolling = false;
this.setState({
selectedPage: index
}, () => {
this.props.onPageSelected && this.props.onPageSelected({nativeEvent: {position: index}});
});
});
}
};
export default applyNativeMethods(ViewPager);
progressTint: {
position: 'absolute',
left: 0,
width: 0,
height: '100%',
background: '#0079fe',
},
progressTrack: {
position: 'relative',
width: '100%',
height: '100%',
background: '#b4b4b4',
}
});
export default applyNativeMethods(ProgressView);
touchArea: {
position: 'absolute',
backgroundColor: 'transparent',
top: 0,
left: 0,
right: 0,
bottom: 0,
},
debugThumbTouchArea: {
position: 'absolute',
backgroundColor: 'green',
opacity: 0.5,
},
});
export default applyNativeMethods(Slider);