UNPKG

react95-native

Version:

Refreshed Windows 95 style UI components for your React Native app

12 lines (11 loc) 1.1 kB
import React from 'react'; import { SwitchProps } from '../SwitchBase'; declare type Props = SwitchProps & { status: 'checked' | 'unchecked'; }; declare const _default: (React.ComponentClass<Pick<Props, "label" | "style" | "onPress" | "disabled" | "variant" | "status"> & { theme?: import("@callstack/react-theme-provider").$DeepPartial<import("../..").Theme> | undefined; }, any> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<(React.ComponentClass<Props, any> & ((props: Props) => JSX.Element)) | (React.FunctionComponent<Props> & ((props: Props) => JSX.Element)), {}>) | (React.FunctionComponent<Pick<Props, "label" | "style" | "onPress" | "disabled" | "variant" | "status"> & { theme?: import("@callstack/react-theme-provider").$DeepPartial<import("../..").Theme> | undefined; }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<(React.ComponentClass<Props, any> & ((props: Props) => JSX.Element)) | (React.FunctionComponent<Props> & ((props: Props) => JSX.Element)), {}>); export default _default;