expo-router
Version:
Expo Router is a file-based router for React Native and web applications.
10 lines (9 loc) • 367 B
TypeScript
import type { ColorValue } from 'react-native';
/**
* Colors for an `IconButton`'s container. Returns `{}` when unset, since Expo UI
* doesn't reset a prop that becomes `undefined`.
*/
export declare function getIconButtonContainerColors(buttonContainerColor: ColorValue | undefined): {
containerColor?: ColorValue;
disabledContainerColor?: ColorValue;
};