1 | import React from 'react';
|
2 | import { SwitchProps as NativeSwitchProps } from 'react-native';
|
3 | import { RneFunctionComponent } from '../helpers';
|
4 | export declare type SwitchProps = NativeSwitchProps & {
|
5 | color?: string;
|
6 | };
|
7 | declare const Switch: RneFunctionComponent<SwitchProps>;
|
8 | export { Switch };
|
9 | declare const _default: React.FunctionComponent<Pick<NativeSwitchProps & {
|
10 | color?: string;
|
11 | } & Partial<import("../config").ThemeProps<SwitchProps>>, "style" | "onLayout" | "testID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "disabled" | "color" | "nativeID" | "hitSlop" | "hasTVPreferredFocus" | "tvParallaxProperties" | "pointerEvents" | "removeClippedSubviews" | "collapsable" | "needsOffscreenAlphaCompositing" | "renderToHardwareTextureAndroid" | "focusable" | "shouldRasterizeIOS" | "isTVSelectable" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "tintColor" | "value" | "thumbTintColor" | "onValueChange" | "thumbColor" | "trackColor" | "ios_backgroundColor" | "onTintColor">> | React.ForwardRefExoticComponent<NativeSwitchProps & {
|
12 | color?: string;
|
13 | } & Partial<import("../config").ThemeProps<SwitchProps>>>;
|
14 | export default _default;
|