mirror of
https://github.com/zhigang1992/react-native-paper.git
synced 2026-06-17 04:09:48 +08:00
* fix: connect ts declaration with @types/react-native * fix: ts declaration * fix: ts declaration
11 lines
305 B
TypeScript
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> {}
|