24ark / react-native-step-indicator

A simple react-native implementation of step indicator widget compatible with the ViewPager and ListView.
Apache License 2.0
1.43k stars 312 forks source link

customStyles are not updating dynamically.. #42

Closed PriyankaAshu closed 6 years ago

PriyankaAshu commented 6 years ago

Can I know is it possible now to update customStyles dynamically ? I Have set my styles in state and using the same in customStyles prop in StepIndicator.

I my case customStyle will change as pr the status change on indicator.

return <StepIndicator customStyles={this.state.ongoingCustomProps} currentPosition={3} labels={labels} stepCount = {5} /> But the colors / styles are not reflecting/changing.

Please help me out here.

timolins commented 6 years ago

Duplicate of #31. I already submitted a pull request to fix this behaviour.

PriyankaAshu commented 6 years ago

Hello Timolins, Can I know when the dynamic styling will be update, Please ? I have already looked up for alternatives but react-native-step-indicator is only fits in my scope.

24ark commented 6 years ago

I have published a new version(0.0.9) with support for dynamic styling.

On Mon, Jun 25, 2018 at 7:10 PM PriyankaAshu notifications@github.com wrote:

Hello Timolins, Can I know when the dynamic styling will be update, Please ? I have already looked up for alternatives but react-native-step-indicator is only fits in my scope.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/24ark/react-native-step-indicator/issues/42#issuecomment-399955400, or mute the thread https://github.com/notifications/unsubscribe-auth/ADT91azojQ_9lZlsCVhhLWCmnn7zut3Uks5uAOhMgaJpZM4UrN2O .

PriyankaAshu commented 6 years ago

Thank you so much :)

On Thu, Jun 28, 2018 at 11:47 AM, Arkit notifications@github.com wrote:

Closed #42 https://github.com/24ark/react-native-step-indicator/issues/42.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/24ark/react-native-step-indicator/issues/42#event-1705514777, or mute the thread https://github.com/notifications/unsubscribe-auth/Alzq7TI7-ifBSkNyJFosO7H7R0KOfSt4ks5uBHT4gaJpZM4UrN2O .