UNPKG

cozy-intent

Version:

Event-based library allowing interactions between React-Native and React applications

19 lines (14 loc) 608 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isFlagshipUI = void 0; /** App's description resulting of its manifest.webapp file */ /** App's mobile information. Used to describe the app scheme and its store urls */ /** * All the different colors are optional */ var isFlagshipUI = function isFlagshipUI(item) { return typeof item === 'object' && item !== null && ('bottomBackground' in item || 'bottomOverlay' in item || 'bottomTheme' in item || 'topBackground' in item || 'topOverlay' in item || 'topTheme' in item); }; exports.isFlagshipUI = isFlagshipUI;