UNPKG

@atlaskit/profilecard

Version:

A React component to display a card with user information.

21 lines (20 loc) 916 B
import React from 'react'; import { type AgentActionsType, type Flag, type ProfileClient, type TriggerType } from '../../types'; export type AgentProfileCardResourcedProps = { accountId: string; cloudId: string; resourceClient: ProfileClient; trigger?: TriggerType; children?: React.ReactNode; addFlag?: (flag: Flag) => void; onDeleteAgent?: (agentId: string) => { restore: () => void; }; /** Hide the Agent more actions dropdown when true */ hideMoreActions?: boolean; /** Hide the AI disclaimer. Defaults to false (disclaimer is shown by default). */ hideAiDisclaimer?: boolean; /** Hide the conversation starters. Defaults to false (conversation starters are shown by default). */ hideConversationStarters?: boolean; } & AgentActionsType; export declare const AgentProfileCardResourced: (props: AgentProfileCardResourcedProps) => React.JSX.Element;