// AUTO-GENERATED by scripts/generate-wrappers.mjs — do not edit by hand. // Source: packages/core/manifest.json (component "stepper"). import type { ElementType, ReactNode } from 'react'; import { Stepper as StepperController, type StepperOptions } from '@42/core/stepper'; import { C42 } from '../C42'; const DEFAULT_HTML: string | null = "
\n \n \n
Content for step 1
\n
\n
\n \n \n
Content for step 2
\n
"; export interface StepperProps extends Partial { /** Element/tag rendered as the controller root. Defaults to `"div"`. */ as?: ElementType; className?: string; children?: ReactNode; /** Fired on `stepper:change` — detail: `{ value, index }` */ onChange?: (detail: unknown, event: CustomEvent) => void; /** Extra props are forwarded to the rendered `
` element. */ [key: string]: unknown; } export function Stepper(props: StepperProps) { const { as, className, children, onChange, linear, defaultValue, ...rest } = props; const options = { linear, defaultValue } as StepperOptions; return ( {children as ReactNode} ); }