Merge pull request #30851 from KSaryan/master

Add ios_backgroundColor prop to Switch react-native component
This commit is contained in:
Eloy Durán
2018-11-27 10:46:23 +01:00
committed by GitHub
+7
View File
@@ -8177,6 +8177,13 @@ export interface SwitchProps extends SwitchPropsIOS {
* Default value is false.
*/
value?: boolean;
/**
* On iOS, custom color for the background.
* Can be seen when the switch value is false or when the switch is disabled.
*/
ios_backgroundColor?: string;
style?: StyleProp<ViewStyle>;
}