"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _reactNative = require("react-native");
var _styles = require("./styles");
var _hooks = require("../../hooks");
var _enums = require("../../enums");
var _Typography = require("../../../core/components/Typography/Typography");
function LiveTimerStatus({
  time,
  pageId = _enums.PageID.WildCardPage,
  componentId = _enums.ComponentID.WildCardComponent
}) {
  const elementId = _enums.ElementID.live_timer_status;
  const {
    themeStyles
  } = (0, _hooks.useAmityElement)({
    pageId,
    componentId,
    elementId
  });
  const styles = (0, _styles.useStyles)(themeStyles);
  return /*#__PURE__*/React.createElement(_reactNative.View, {
    style: styles.container
  }, /*#__PURE__*/React.createElement(_Typography.Typography.CaptionBold, {
    style: styles.label
  }, "LIVE", time ? ` ${time}` : ''));
}
var _default = exports.default = LiveTimerStatus;
//# sourceMappingURL=LiveTimerStatus.js.map