import React, { useState } from 'react';
function Section({ title, children }: { title: string; children: React.ReactNode }) {
return (
);
}
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 && (
)}
{!returnLabel && (
)}
);
}
export default function OutcomeHeaderDemo() {
return (
);
}