AFFiNE/packages/frontend/component/src/components/auth-components/auth-content.tsx
2023-10-18 15:30:08 +00:00

15 lines
385 B
TypeScript

import clsx from 'clsx';
import type { FC, HTMLAttributes, PropsWithChildren } from 'react';
import { authContent } from './share.css';
export const AuthContent: FC<
PropsWithChildren & HTMLAttributes<HTMLDivElement>
> = ({ children, className, ...otherProps }) => {
return (
<div className={clsx(authContent, className)} {...otherProps}>
{children}
</div>
);
};