"use strict";

import React from 'react';
import { View } from 'react-native';
import { useTheme } from "../theme/use-theme.js";
import { usePromptInput } from "./context.js";
import { jsx as _jsx } from "react/jsx-runtime";
export function PromptInputActions({
  children,
  style,
  testID
}) {
  const {
    isFullscreen
  } = usePromptInput();
  const theme = useTheme();
  return /*#__PURE__*/_jsx(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