mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Pass disabled prop down to native implementation
Summary: Changelog: [iOS] [Fixed] - Slider is now disabled properly on iOS if the disabled prop is set. Reviewed By: yungsters Differential Revision: D18758835 fbshipit-source-id: 4850ebf05380f241d49d40107de61fd840049779
This commit is contained in:
committed by
Facebook Github Bot
parent
7a42596438
commit
fa9ff07017
@@ -237,7 +237,9 @@ const Slider = (
|
||||
return (
|
||||
<SliderNativeComponent
|
||||
{...localProps}
|
||||
// TODO: Reconcile these across the two platforms.
|
||||
enabled={!disabled}
|
||||
disabled={disabled}
|
||||
maximumValue={maximumValue}
|
||||
minimumValue={minimumValue}
|
||||
onChange={onChangeEvent}
|
||||
|
||||
Reference in New Issue
Block a user