UNPKG

@yamada-ui/stepper

Version:

Yamada UI stepper component

21 lines (18 loc) 862 B
import * as _yamada_ui_core from '@yamada-ui/core'; import { HTMLUIProps } from '@yamada-ui/core'; import { IconProps } from '@yamada-ui/icon'; import { ReactNode } from 'react'; import { StepContext } from './step.js'; import './use-stepper.js'; import '@yamada-ui/use-descendant'; type StepStatusProps = { [key in "active" | "complete" | "incomplete"]?: ((props: Omit<StepContext, "status">) => ReactNode) | ReactNode; }; declare const StepStatus: _yamada_ui_core.Component<"div", StepStatusProps>; interface StepNumberProps extends HTMLUIProps { } declare const StepNumber: _yamada_ui_core.Component<"div", StepNumberProps>; interface StepIconProps extends IconProps { } declare const StepIcon: _yamada_ui_core.Component<"svg", StepIconProps>; export { StepIcon, type StepIconProps, StepNumber, type StepNumberProps, StepStatus, type StepStatusProps };