talalmajali / react-native-countdown-component

React Native CountDown
MIT License
266 stars 233 forks source link

Seconds not visible anymore #61

Closed ironhide0396 closed 4 years ago

ironhide0396 commented 4 years ago

Firstly thanks for this component , makes the developers life pretty easy .

             <CountDown
                                    id={this.state.id}
                                    size={10}
                                    until={5}
                                    onFinish={() => {
                                        this.setState({
                                            isResendDisabled: false
                                        });
                                    }}
                                    digitStyle={{
                                        backgroundColor: "#FFF",
                                        borderWidth: 0
                                    }}
                                    digitTxtStyle={{ color: "#000" }}
                                    timeLabelStyle={{
                                        color: "red",
                                        fontWeight: "bold"
                                    }}
                                    separatorStyle={{ color: "#000" }}
                                    timeToShow={["M", "S"]}
                                    timeLabels={{ m: null, s: null }}
                                    showSeparator
                                />

However, im not able to the unit parts of the seconds , its only displaying 3 ,2 ,1,0 .Instead of 35,34,33,32...00

What could be the issue ? Tried the example code and still the same issue.

ironhide0396 commented 4 years ago

Closing the issue as it solved by the solution described in #49 .Great component !