"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.useStyles = void 0;
var _reactNative = require("react-native");
var _reactNativePaper = require("react-native-paper");
var _reactNativeSafeAreaContext = require("react-native-safe-area-context");
const useStyles = (bottomPosition = 16) => {
  const theme = (0, _reactNativePaper.useTheme)();
  const {
    bottom
  } = (0, _reactNativeSafeAreaContext.useSafeAreaInsets)();
  const styles = _reactNative.StyleSheet.create({
    toast: {
      gap: 12,
      zIndex: 999,
      width: '90%',
      borderRadius: 8,
      bottom: bottom + bottomPosition,
      paddingVertical: 16,
      alignSelf: 'center',
      flexDirection: 'row',
      position: 'absolute',
      alignItems: 'center',
      paddingHorizontal: 12,
      backgroundColor: theme.colors.base
    },
    message: {
      flex: 1,
      color: theme.colors.background
    }
  });
  return {
    theme,
    styles
  };
};
exports.useStyles = useStyles;
//# sourceMappingURL=styles.js.map