import { Table, Thead, Tbody, Tr, Th, } from '@chakra-ui/react'; import React from 'react'; import type { ApiKeys, ApiKey } from 'types/api/account'; import ApiKeyTableItem from './ApiKeyTableItem'; interface Props { data: ApiKeys; onEditClick: (item: ApiKey) => void; onDeleteClick: (item: ApiKey) => void; limit: number; } const ApiKeyTable = ({ data, onDeleteClick, onEditClick, limit }: Props) => { return (
| { `API key token (limit ${ limit } keys)` } |
|---|