Closed boep1963 closed 5 years ago
HI,
Thanks for the reply. I want indeed access the until property (check the remaining time to send out a warning). This is how I implemented it
<CountDown
until={this.state.SB.Inspeeltijd}
size={this.state.SB.InspeelCompBreedte || 48}
onFinish={() => this.EindeInspeeltijd()}
onChange={() => this.changeColor()}
changeColor() {
??? How to access the value until
}
Regards,
met vriendelijke groet,
Pierre
---- Op za, 05 okt 2019 14:04:57 +0200 Talal Majali notifications@github.com schreef ----
https://github.com/boep1963 what properties you want to access? you can only access until value using the onChange function
— You are receiving this because you were mentioned. Reply to this email directly, https://github.com/talalmajali/react-native-countdown-component/issues/60?email_source=notifications&email_token=AG44UKZ4YZOFKQCHPCT5633QNB7GTA5CNFSM4I4G7AD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEANQ4YA#issuecomment-538644064, or https://github.com/notifications/unsubscribe-auth/AG44UK2APS7U3GZPZ4RZ3HTQNB7GTANCNFSM4I4G7ADQ.
@boep1963 onChange={until => this.changeColor(until)}
@boep1963 what properties you want to access? you can only access
until
value using the onChange function