"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _react = _interopRequireDefault(require("react"));
var _native = _interopRequireDefault(require("styled-components/native"));
var _Button = _interopRequireDefault(require("../styled/Button"));
var _jsxRuntime = require("react/jsx-runtime");
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
const LoginForm = ({
  config
}) => {
  const handleSubmit = () => {
    console.log('Form submitted');
  };
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(FormContainer, {
    children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.default, {
      onPress: handleSubmit,
      text: 'Login anonymously',
      style: {
        width: '100%',
        height: 40
      }
    }), /*#__PURE__*/(0, _jsxRuntime.jsx)(Delimiter, {
      children: "Only could send text messages"
    })]
  });
};

// Styled Components
const FormContainer = _native.default.View`
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: #f5f5f5;
  padding: 16px;
`;
const Delimiter = _native.default.View`
  text-align: center;
  position: relative;
  width: 100%;
  font-size: 14px;
  color: #999;

  &::before,
  &::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: #ccc;
  }

  &::before {
    left: 0;
  }

  &::after {
    right: 0;
  }
`;
var _default = exports.default = LoginForm;
//# sourceMappingURL=LoginAnonym.js.map