expo-router
Version:
Expo Router is a file-based router for React Native and web applications.
7 lines (6 loc) • 436 B
TypeScript
import type { ColorValue } from 'react-native';
export declare function isDark(value: ColorValue): boolean | undefined;
export declare function isLight(value: ColorValue): boolean | undefined;
export declare function alpha(value: ColorValue): number | undefined;
export declare function alpha(value: ColorValue, opacity: number): string | undefined;
export declare function darken(value: ColorValue, ratio: number): string | undefined;