/**
 * 登陆注册
 */
import React from "react";
import { Button } from "@components/Button";
interface Props {
  onSignIn?: () => void;
  onSignUp?: () => void;
}

export const SignInUp: React.FC<Props> = props => {
  return (
    <div className="w-full px-[16px] flex flex-col ">
      <Button
        onClick={() => props.onSignIn?.()}
        className="w-full h-[40px] mb-[12px]"
        color="primary"
        variant="contained"
      >
        立即注册
      </Button>
      <Button className="w-full h-[40px] " onClick={() => props.onSignUp?.()} color="gray" variant="contained">
        登录
      </Button>
    </div>
  );
};
