"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = FloatingButton;
var _reactNative = require("react-native");
var _reactNativeSvg = require("react-native-svg");
var _xml = require("../../../../core/assets/icons/xml");
var _styles = require("./styles");
function FloatingButton({
  onPress,
  isGlobalFeed = true
}) {
  return /*#__PURE__*/React.createElement(_reactNative.View, {
    style: !isGlobalFeed ? _styles.styles.otherFeedContainer : _styles.styles.container
  }, /*#__PURE__*/React.createElement(_reactNative.Pressable, {
    onPress: () => {
      onPress && onPress();
    },
    style: _styles.styles.button
  }, /*#__PURE__*/React.createElement(_reactNativeSvg.SvgXml, {
    xml: (0, _xml.postIcon)('#FFFFFF'),
    width: "30",
    height: "30"
  })));
}
//# sourceMappingURL=index.js.map