import React, { type ComponentPropsWithoutRef, type FC, type ReactNode } from 'react'; export interface LoginPageHeaderProps extends ComponentPropsWithoutRef<'div'> { logo?: ReactNode; title?: string; subtitle?: ReactNode; onRegister?: () => void; } export const LoginPageHeader: FC = ({ logo, title, subtitle, onRegister, className, ...props }) => { return (
{logo} {title}
{subtitle &&

{subtitle}

} {onRegister && (

尚未加入?{' '}

)}
); };