import React, { useState } from 'react'; function Section({ title, children }: { title: string; children: React.ReactNode }) { return (

{title}

{children}
); } function KaptioMark({ color = 'var(--flux-primary-400)' }: { color?: string }) { return ( ); } function ArrowLeftIcon() { return ( ); } interface OutcomeHeaderProps { outcomeLabel: string; returnLabel?: string; accentColor?: string; } function OutcomeHeader({ outcomeLabel, returnLabel, accentColor }: OutcomeHeaderProps) { const hasAccent = !!accentColor; const [hovered, setHovered] = useState(false); return (
{hasAccent && (
)} {returnLabel && ( )}

{outcomeLabel}

{!returnLabel && ( )}
); } export default function OutcomeHeaderDemo() { return (
Application content area
Application content area
Application content area
Application content area
); }