mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 06:33:55 +01:00
Merge pull request #29900 from overleaf/td-ciam-login
Implement unified access login page GitOrigin-RevId: 9973565099e1e88dd9d6b232d8f5c545dc73e6f7
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
export function ciamIcon(type: 'error' | 'info', className?: string) {
|
||||
const elName = type === 'error' ? 'ph-warning-circle' : 'ph-info'
|
||||
const icon = document.createElement(elName)
|
||||
if (className) {
|
||||
icon.className = className
|
||||
}
|
||||
icon.ariaHidden = 'true'
|
||||
return icon
|
||||
}
|
||||
Reference in New Issue
Block a user