UNPKG

653 BTypeScriptView Raw
1import React from 'react';
2import { SwitchProps as NativeSwitchProps } from 'react-native';
3import { RneFunctionComponent } from '../helpers';
4export declare type SwitchProps = NativeSwitchProps & {
5 color?: string;
6};
7declare const Switch: RneFunctionComponent<SwitchProps>;
8export { Switch };
9declare const _default: React.FunctionComponent<Omit<NativeSwitchProps & {
10 color?: string;
11} & Partial<import("../config").ThemeProps<SwitchProps>>, keyof import("../config").ThemeProps<T>>> | React.ForwardRefExoticComponent<NativeSwitchProps & {
12 color?: string;
13} & Partial<import("../config").ThemeProps<SwitchProps>>>;
14export default _default;