"use client"; /** * Single Select Field * * COPIED VERBATIM FROM: components/onboarding/steps/single-select-step.tsx:85-109 * Renders a radio card group for single selection */ import { ANIMATION_CLASSES, getStaggerStyle, STAGGER_PRESETS, } from "../animations"; import { OnboardingRadioCardGroup, OnboardingRadioCardIndicator, OnboardingRadioCardItem, } from "../primitives/onboarding-radio-card"; import type { SingleSelectFieldProps } from "../types/fields"; export function SingleSelectField({ options, value, onChange, ariaLabel, disabled = false, }: SingleSelectFieldProps) { return (
{ariaLabel} {options.map((option, index) => (
{option.label}
))}
); }