expo-router
Version:
Expo Router is a file-based router for React Native and web applications.
13 lines (12 loc) • 335 B
TypeScript
import { type ColorValue, type ViewStyle } from 'react-native';
type ShadowConfig = {
offset: {
width: number;
height: number;
};
radius: number;
opacity: number;
color?: ColorValue;
};
export declare function getShadowStyle({ offset, radius, opacity, color, }: ShadowConfig): ViewStyle;
export {};