import React from "react";
import PropTypes from "prop-types";
import { InputField, InputFieldLabel } from "../EditProfile.styled";
import { useTranslation } from "react-i18next";

const AppLinkField = (props) => {
  const { t } = useTranslation();
  return (
    <>
      <InputFieldLabel leftText={t("editProfile.applink").toUpperCase()} />
      <InputField
        name="firmApplink"
        values={props.formik.values.firmApplink}
        margin="normal"
        fullWidth
      />
    </>
  );
};

AppLinkField.propTypes = {
  formik: PropTypes.any,
};

export default AppLinkField;
