API reference: @salmonui/navigation/stepper
StepTriggerPropsinterface
import type { StepTriggerProps } from '@salmonui/navigation/stepper';interface StepTriggerProps {
readonly className: string;
readonly children: ReactNode;
readonly type?: 'button';
readonly tabIndex?: number;
readonly 'aria-disabled'?: true;
readonly onClick?: (event: MouseEvent<HTMLElement>) => void;
}
Props Step computes for its trigger (render); none of them is a focus or pointer handler.
| Name | Signature | Description |
|---|---|---|
className | readonly className: string; | |
children | readonly children: ReactNode; | |
typeoptional | readonly type?: 'button'; | |
tabIndexoptional | readonly tabIndex?: number; | |
aria-disabledoptional | readonly 'aria-disabled'?: true; | |
onClickoptional | readonly onClick?: (event: MouseEvent<HTMLElement>) => void; |