Files
AFFiNE-Mirror/packages/frontend/component/src/components/auth-components/auth-header.tsx
forehalo 9dcce43360 refactor(core): auth ui (#10101)
close AF-2202 AF-2203
2025-02-12 07:39:09 +00:00

19 lines
403 B
TypeScript

import { Logo1Icon } from '@blocksuite/icons/rc';
import type { FC } from 'react';
import { authHeaderWrapper } from './share.css';
export const AuthHeader: FC<{
title: string;
subTitle?: string;
}> = ({ title, subTitle }) => {
return (
<div className={authHeaderWrapper}>
<p>
<Logo1Icon className="logo" />
{title}
</p>
<p>{subTitle}</p>
</div>
);
};