-
-
Save callstack-bot/4dbbd74a4ddc70cd7d23394f7e111936 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)updateProps:(const Props::Shared &)props oldProps:(const Props::Shared &)oldProps | |
{ | |
const auto &oldScreenProps = *std::static_pointer_cast<const RNCSliderProps>(_props); | |
const auto &newScreenProps = *std::static_pointer_cast<const RNCSliderProps>(props); | |
if (oldScreenProps.step != newScreenProps.step) { | |
slider.step = newScreenProps.step; | |
} | |
// Handle only supported props here | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment