docs: function mapToProps(_, {
    phone: {
      brand,
      callLogger,
      callMonitor,
      locale,
      regionSettings,
      rolesAndPermissions,
      callHistory,
      connectivityMonitor,
      rateLimiter,
      dateTimeFormat,
      call,
      composeText,
    },
    showContactDisplayPlaceholder = false,
    enableContactFallback = false,
  }) {
    return {
      currentLocale: locale.currentLocale,
      activeRingCalls: callMonitor.activeRingCalls,
      activeOnHoldCalls: callMonitor.activeOnHoldCalls,
      activeCurrentCalls: callMonitor.activeCurrentCalls,
      otherDeviceCalls: callMonitor.otherDeviceCalls,
      areaCode: regionSettings.areaCode,
      countryCode: regionSettings.countryCode,
      outboundSmsPermission: !!(
        rolesAndPermissions.permissions &&
        rolesAndPermissions.permissions.OutboundSMS
      ),
      internalSmsPermission: !!(
        rolesAndPermissions.permissions &&
        rolesAndPermissions.permissions.InternalSMS
      ),
      // showSpinner: false,
      brand: brand.fullName,
      showContactDisplayPlaceholder,
      autoLog: !!(callLogger && callLogger.autoLog),
      enableContactFallback,
      calls: callHistory.latestCalls,
      disableLinks: !connectivityMonitor.connectivity ||
      rateLimiter.throttling,
      disableClickToDial: !(call && call.isIdle),
      loggingMap: (callLogger && callLogger.loggingMap),
      showSpinner: !(
        callHistory.ready &&
        locale.ready &&
        regionSettings.ready &&
        dateTimeFormat.ready &&
        connectivityMonitor.ready &&
        (!rolesAndPermissions || rolesAndPermissions.ready) &&
        (!call || call.ready) &&
        (!composeText || composeText.ready) &&
        (!callLogger || callLogger.ready)
      ),
      readTextPermission: rolesAndPermissions.readTextPermissions,
    };
  }