/* * Copyright (c) 2026 by Christian Kellner. * Licensed under Apache-2.0 with Commons Clause and Attribution/Naming Clause */ import { Empty, Table, Button } from '@douyinfe/semi-ui-19'; import { IconDelete, IconEdit } from '@douyinfe/semi-icons'; import { Typography } from '@douyinfe/semi-ui'; import { useTranslation } from '../../services/i18n/i18n.jsx'; export default function ProviderTable({ providerData = [], onRemove, onEdit } = {}) { const t = useTranslation(); const { Text } = Typography; return ( } columns={[ { title: t('provider.tableColumnName'), dataIndex: 'name', }, { title: t('provider.tableColumnUrl'), dataIndex: 'url', render: (_, data) => { return {t('provider.tableOpenProvider')}; }, }, { title: '', dataIndex: 'tools', render: (_, record) => { return (
); }, }, ]} dataSource={providerData} /> ); }