import { OauthClient , useOAuthClients } from '@enterprise-oss/osso' ; import { Col , Row , Table } from 'antd' ; import React , { ReactElement } from 'react' ; import { Link } from 'react-router-dom' ; import AppConfig from '~/client/src/components/AppConfig' ; import TeamManagement from '~/client/src/components/TeamManagement' ; export default function DeveloperConfig ( ) { const { data , loading } = useOAuthClients ( ) ; return ( < > < Row gutter = { 24 } style = { { marginBottom : 24 } } > < Col span = { 24 } > < Table loading = { loading } rowKey = "id" dataSource = { data ?. oauthClients } pagination = { false } > < Table . Column title = "OAuth Client" dataIndex = "name" key = "name" render = { ( text , record ) => ( < Link to = { `/config/${ record . id }` } > { text } < /Link>)}/ > < /Table> < /Col> < /Row> < Row gutter = { 24 } > < Col span = { 12 } > < AppConfig /> < /Col> < Col span = { 12 } > < TeamManagement /> < /Col> < /Row> < />); }