feat(ui): new AccessProviderSelect component using antd

This commit is contained in:
Fu Diwei
2024-12-12 16:49:12 +08:00
parent 220d98a668
commit b5739c663d
10 changed files with 74 additions and 578 deletions

View File

@@ -40,7 +40,7 @@ const AccessList = () => {
ellipsis: true,
render: (_, record) => {
return (
<Space className="max-w-full truncate" size={4}>
<Space className="max-w-full truncate" align="center" size={4}>
<Avatar src={accessProvidersMap.get(record.configType)?.icon} size="small" />
<Typography.Text ellipsis>{t(accessProvidersMap.get(record.configType)?.name ?? "")}</Typography.Text>
</Space>