Files
monkey-ai-web/src/components/auth/AuthDivider.jsx
T
zhanjunhao 8a48765a46 chore(repo): 移除重复版权文件头并纳入共享单测
集中保留原版权声明,移除文件头检查和全局测试忽略规则。验证:全量单测、受影响用例复测及静态检查通过。
2026-11-20 11:23:49 +08:00

17 lines
641 B
React

import React from 'react';
/**
* 认证页统一的「— 文案 —」分隔线(如「或」「还没有企业?」)。
* 两侧细线 + 居中弱化文字,不依赖底色遮挡,玻璃卡片与深色模式下都干净。
* 样式见 src/styles/prototype.css 的 .auth-divider。
*/
const AuthDivider = ({ children, className = '' }) => (
<div className={`auth-divider ${className}`} role='separator'>
<span className='auth-divider-line' aria-hidden='true' />
<span className='auth-divider-text'>{children}</span>
<span className='auth-divider-line' aria-hidden='true' />
</div>
);
export default AuthDivider;