sekizlipenguen / react-native-popup-confirm-toast

MIT License
90 stars 13 forks source link

modifying header background color not exposed #8

Closed chidimez closed 2 years ago

chidimez commented 2 years ago

I looked through the docs for popup and realized there is no way to modify the header style sheet. am using a dark theme and i have a white background behind my icons due to this. am currently using a modified fork to workaround this. The relevant codes are:

Popup.js:

{
                        iconEnabled && (
                            <>
                                <View style={styles.Header}/>
                               ...
                            </>
                        )
                    }

Style Sheet:

Header: {
       ...
       backgroundColor: '#fff',
    },
sekizlipenguen commented 2 years ago

I received this request, I will add it to the development soon

sekizlipenguen commented 2 years ago

hi, this version may be the solution for you: https://www.npmjs.com/package/react-native-popup-confirm-toast/v/2.2.2

iconHeaderStyle={{bla,bla,bla}}

chidimez commented 2 years ago

Thanks!