import { PropsWithChildren } from 'react' import { cn } from 'ui' interface ConnectSheetStepProps { number: number title: string description: string optional?: boolean className?: string } export const ConnectSheetStep = ({ number, title, description, optional = false, className, children, }: PropsWithChildren) => { const displayTitle = optional ? `${title} (optional)` : title return (
{/* Container query: side-by-side title | content when the step row is wide enough. Viewport 2xl never applied inside max-w-4xl sheets. */}

{title} {optional && (optional)}

{description}

{children}
) }