import type { ReactNode } from "react"; import type { IconComponentType } from "../../Icons"; export type BaseStep = { /** * Defines the icon to display in the step. * If omitted, the `index + 1` of the step will be displayed instead. * If the step is completed, a check icon will be displayed instead. */ icon?: IconComponentType; /** * Defines the label to display in the step. */ label?: ReactNode; /** * Defines the name to display in the step. */ name: ReactNode; /** * Defines whether the step is completed. */ completed?: boolean; /** * Defines whether the step is disabled. */ disabled?: boolean; };