import AccountInfo, { AccountInfoProps } from "./AccountInfo";
import ToolBox from "./ToolBox";

interface PropsType {
  className?: string;
  accountInfo: AccountInfoProps;
  showSetting?: boolean;
  onClose?: () => void;
  onBack?: () => void;
  onChangePayPin?: () => void;
}
const ConnectedMain = ({
  accountInfo,
  showSetting,
  onChangePayPin,
}: PropsType) => {
  return (
    <div className="uikit-px-5 uikit-pb-[70px]">
      <AccountInfo
        showSetting={showSetting}
        accountInfo={accountInfo}
        onChangePayPin={onChangePayPin}
      />
      <ToolBox />
    </div>
  );
};

export default ConnectedMain;
