UNPKG

expo-dark-mode-switch

Version:

Dark-mode theme toggle with a universal Switch component

9 lines (8 loc) 398 B
import * as React from 'react'; import { TouchableOpacity as NativeTouchableOpacity } from 'react-native'; declare type NativeTouchableOpacityProps = React.ComponentProps<typeof NativeTouchableOpacity>; declare type WebTouchableOpacityProps = NativeTouchableOpacityProps & { tabIndex?: number; }; export declare const TouchableOpacity: React.ComponentType<WebTouchableOpacityProps>; export {};