You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
653 B

import React from 'react';
import { SwitchProps as NativeSwitchProps } from 'react-native';
import { RneFunctionComponent } from '../helpers';
export declare type SwitchProps = NativeSwitchProps & {
color?: string;
};
declare const Switch: RneFunctionComponent<SwitchProps>;
export { Switch };
declare const _default: React.FunctionComponent<Omit<NativeSwitchProps & {
color?: string;
} & Partial<import("../config").ThemeProps<SwitchProps>>, keyof import("../config").ThemeProps<T>>> | React.ForwardRefExoticComponent<NativeSwitchProps & {
color?: string;
} & Partial<import("../config").ThemeProps<SwitchProps>>>;
export default _default;