Files
react-native-paper/typings/components/Switch.d.ts
Shen Junru a87c1dd85b fix: connect ts declaration with @types/react-native (#627)
* fix: connect ts declaration with @types/react-native

* fix: ts declaration

* fix: ts declaration
2018-11-08 10:32:53 +01:00

11 lines
305 B
TypeScript

import * as React from 'react';
import { SwitchProps as NativeSwitchProps } from 'react-native';
import { ThemeShape } from '../types';
export interface SwitchProps extends NativeSwitchProps {
color?: string;
theme?: ThemeShape;
}
export declare class Switch extends React.Component<SwitchProps> {}