import { Icon } from '@iconify/react';
import PropTypes from 'prop-types';
import LoginMethodItem from '@arcblock/did-connect-react/lib/Connect/components/login-item/login-method-item';
import passKeyRoundedIcon from '@iconify-icons/material-symbols/passkey-rounded';
import { useLocaleContext } from '@arcblock/ux/lib/Locale/context';
import { jsx as _jsx } from "react/jsx-runtime";
export default function WithoutWallet({
  onClick
}) {
  const {
    t
  } = useLocaleContext();
  return /*#__PURE__*/_jsx(LoginMethodItem, {
    title: t('launchBlocklet.withoutWallet'),
    icon: /*#__PURE__*/_jsx(Icon, {
      icon: passKeyRoundedIcon,
      fontSize: "1em"
    }),
    onClick: onClick
  });
}
WithoutWallet.propTypes = {
  onClick: PropTypes.func.isRequired
};