Closed tigpalmas closed 5 years ago
Go to directory /node_modules/react-native-countdown-component/index.js
@tigpalmas can you please show me an example for what you exactly you need to do, because margin and padding are working fine with me Thanks
@talalmajali im trying to achieve less space between the counter and my other components . I tried to edit the index file and the only thing that works was: digitCont: { borderRadius: 5, marginHorizontal: -5, marginVertical: -15, alignItems: 'center', justifyContent: 'center', },
@tigpalmas with version 2.0.0+ you can override the digit style as well as digit text style
@talalmajali I'm trying to set digitStyle padding 0, but it doesn't work. What I'm trying to do is to end the space around the numbers, the red background on the attached file, please help me!
i managed to get rid of the padding by setting height:'auto'
to the digitStyle
. Setting 0 to margin and padding doesnt work.
digitStyle={{
borderWidth: 2,
borderColor: '#1CC625',
height:'auto'
//padding: 0,
//margin: 0,
}}
is it possible to change padding and margin of the component ? i tried add style={{margin: 0, padding: 0}} unsuccessfully