react-native-custom-radio-group icon indicating copy to clipboard operation
react-native-custom-radio-group copied to clipboard

Can we add the gradient options to `buttonContainerActiveStyle`

Open dvlpr-eth opened this issue 5 years ago • 0 comments

It would be great if we can pass an array for adding gradient to the background, this is the wrapper I created to use gradient as background for one of my pages.

const OnboardingWrapper = ({ children, item }) => { return typeof item.backgroundColor === 'object' ? ( <LinearGradient style={styles.slide} colors={item.backgroundColor} start={{ x: 0.8, y: 1 }} end={{ x: 0, y: 0 }}> {children} </LinearGradient> ) : ( <View style={{ ...styles.slide, backgroundColor: item.backgroundColor }}>{children}</View> ); };

Thanks

dvlpr-eth avatar Aug 28 '20 14:08 dvlpr-eth