import type { ReactNode } from "react"; import Row from "@moduletrace/twui/layout/Row"; import Span from "@moduletrace/twui/layout/Span"; import Stack from "@moduletrace/twui/layout/Stack"; type Props = { avatar: ReactNode; title: string; subtitle?: string; }; /** * The record whose settings are open, at the top of its rail. Same 48px * row as a bot, selected. */ export default function RailSettingsRecordRow({ avatar, title, subtitle, }: Props) { return ( {avatar} {title} {subtitle ? ( {subtitle} ) : null} ); }