"use strict";

import React from 'react';
import styled from 'styled-components/native';
import Button from '../styled/Button';
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
const LoginForm = ({
  config
}) => {
  const handleSubmit = () => {
    console.log('Form submitted');
  };
  return /*#__PURE__*/_jsxs(FormContainer, {
    children: [/*#__PURE__*/_jsx(Button, {
      onPress: handleSubmit,
      text: 'Login anonymously',
      style: {
        width: '100%',
        height: 40
      }
    }), /*#__PURE__*/_jsx(Delimiter, {
      children: "Only could send text messages"
    })]
  });
};

// Styled Components
const FormContainer = styled.View`
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: #f5f5f5;
  padding: 16px;
`;
const Delimiter = styled.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;
  }
`;
export default LoginForm;
//# sourceMappingURL=LoginAnonym.js.map