import React, { useState, useEffect } from "react"; import { Typography } from "antd"; import { Select, SelectItem } from "@tremor/react"; interface DashboardTeamProps { teams: Object[] | null; setSelectedTeam: React.Dispatch>; } const DashboardTeam: React.FC = ({ teams, setSelectedTeam, }) => { const { Title, Paragraph } = Typography; const [value, setValue] = useState(""); return (
Default Team If you belong to multiple teams, this setting controls which team is used by default when creating new API Keys. {teams && teams.length > 0 ? ( ) : ( No team created. Defaulting to personal account. )}
); }; export default DashboardTeam;