@applicaster/zapp-react-native-ui-components
Version:
Applicaster Zapp React Native ui components for the Quick Brick App
11 lines (7 loc) • 371 B
text/typescript
import { useTheme } from "@applicaster/zapp-react-native-utils/theme";
import { useConfiguration } from "../utils";
export const useBackgroundColor = (): string => {
const { modal_background_color: modalBackgroundColor } = useConfiguration();
const theme = useTheme<BaseThemePropertiesMobile>();
return modalBackgroundColor || theme?.status_background_color;
};