mirror of
https://github.com/toeverything/AFFiNE.git
synced 2025-01-07 07:37:50 +03:00
15 lines
385 B
TypeScript
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>
|
|
);
|
|
};
|