mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 15:57:13 +00:00
Merge pull request #30851 from KSaryan/master
Add ios_backgroundColor prop to Switch react-native component
This commit is contained in:
Vendored
+7
@@ -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>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user