import Button from "@moduletrace/twui/layout/Button"; import Row from "@moduletrace/twui/layout/Row"; import Span from "@moduletrace/twui/layout/Span"; import Stack from "@moduletrace/twui/layout/Stack"; import BotAvatar from "@/src/components/general/bot-avatar"; import type { BotFace } from "@/src/dict/bot-dict"; import botStoneProps from "@/src/utils/bot-stone-props"; import type { BotWithLastMessage } from "@/src/types"; type Props = { bot: BotWithLastMessage; linking?: boolean; disabled?: boolean; onLink: () => void; }; /** * One bot in the link-bots modal: stone, name, job, and Add. */ export default function LinkBotRow({ bot, linking, disabled, onLink }: Props) { return ( {bot.name} {bot.role || ""} ); }