import { Pressable, View } from 'react-native';
import { SvgXml } from 'react-native-svg';
import { postIcon } from '../../../../core/assets/icons/xml';
import { styles } from './styles';
export default function FloatingButton({
  onPress,
  isGlobalFeed = true
}) {
  return /*#__PURE__*/React.createElement(View, {
    style: !isGlobalFeed ? styles.otherFeedContainer : styles.container
  }, /*#__PURE__*/React.createElement(Pressable, {
    onPress: () => {
      onPress && onPress();
    },
    style: styles.button
  }, /*#__PURE__*/React.createElement(SvgXml, {
    xml: postIcon('#FFFFFF'),
    width: "30",
    height: "30"
  })));
}
//# sourceMappingURL=index.js.map