Open armata99 opened 4 years ago
It's not set to 0.85 as default and it does not change when i give it the prop. and it drops a white square around the button.
Code sample? here you go:
render() { return ( <SafeAreaView style={styles.container}> <StatusBar barStyle={'dark-content'} backgroundColor="transparent" /> <FlatList style={styles.container} data={this.state.listData} refreshing={this.state.refreshing} onRefresh={() => { this.setState({listData: [], refreshing: true}); this.getClassList(); }} keyExtractor={(item, index) => index.toString()} renderItem={({item}) => this.renderListItem(item)} /> <ActionButton offsetX={25} offsetY={35} activeOpacity={0.9} buttonColor={primaryColor} onPress={() => { console.log('hi'); }} /> </SafeAreaView> ); }
It's not set to 0.85 as default and it does not change when i give it the prop. and it drops a white square around the button.
Code sample? here you go: