"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.PromptInputActions = PromptInputActions;
var _react = _interopRequireDefault(require("react"));
var _reactNative = require("react-native");
var _useTheme = require("../theme/use-theme.js");
var _context = require("./context.js");
var _jsxRuntime = require("react/jsx-runtime");
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
function PromptInputActions({
  children,
  style,
  testID
}) {
  const {
    isFullscreen
  } = (0, _context.usePromptInput)();
  const theme = (0, _useTheme.useTheme)();
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
    style: [{
      flexDirection: 'row',
      alignItems: 'center',
      gap: 8
    }, isFullscreen && {
      position: 'absolute',
      bottom: 16,
      left: 16,
      right: 16,
      maxWidth: 672,
      alignSelf: 'center',
      borderRadius: 9999,
      borderWidth: 1,
      borderColor: theme.colors.border,
      backgroundColor: theme.colors.background,
      paddingHorizontal: 16,
      paddingVertical: 12
    }, style],
    testID: testID,
    children: children
  });
}
PromptInputActions.displayName = 'PromptInputActions';
//# sourceMappingURL=Actions.js.map