@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
32 lines • 857 B
text/typescript
import { CSSProperties, ComponentProps, Key, ReactNode, Ref } from "react";
//#region src/base-ui/Steps/type.d.ts
type StepStatus = 'wait' | 'process' | 'finish' | 'error';
interface StepItem {
description?: ReactNode;
icon?: ReactNode;
key?: Key;
status?: StepStatus;
title?: ReactNode;
}
interface StepsProps extends Omit<ComponentProps<'ol'>, 'children'> {
classNames?: {
description?: string;
indicator?: string;
item?: string;
title?: string;
};
current?: number;
items: StepItem[];
orientation?: 'horizontal' | 'vertical';
ref?: Ref<HTMLOListElement>;
styles?: {
description?: CSSProperties;
indicator?: CSSProperties;
item?: CSSProperties;
title?: CSSProperties;
};
variant?: 'default' | 'dot';
}
//#endregion
export { StepItem, StepStatus, StepsProps };
//# sourceMappingURL=type.d.mts.map