import Link from 'next/link'; import { Button, Text, Icon, Icons } from 'react-basics'; import SettingsTable from 'components/common/SettingsTable'; import useMessages from 'hooks/useMessages'; import useConfig from 'hooks/useConfig'; export function WebsitesTable({ data = [] }) { const { formatMessage, labels } = useMessages(); const { openExternal } = useConfig(); const columns = [ { name: 'name', label: formatMessage(labels.name) }, { name: 'domain', label: formatMessage(labels.domain) }, { name: 'action', label: ' ' }, ]; return ( {row => { const { id } = row; return ( <> ); }} ); } export default WebsitesTable;