naive-ui
Version:
A Vue 3 Component Library. Fairly Complete, Theme Customizable, Uses TypeScript, Fast
61 lines (60 loc) • 2.48 kB
TypeScript
import { type PropType } from 'vue';
import type { ExtractPublicPropTypes } from '../../_utils';
export declare const stepProps: {
readonly status: PropType<"process" | "finish" | "error" | "wait">;
readonly title: StringConstructor;
readonly description: StringConstructor;
readonly disabled: BooleanConstructor;
readonly internalIndex: {
readonly type: NumberConstructor;
readonly default: 0;
};
};
export type StepProps = ExtractPublicPropTypes<typeof stepProps>;
declare const _default: import("vue").DefineComponent<{
readonly status: PropType<"process" | "finish" | "error" | "wait">;
readonly title: StringConstructor;
readonly description: StringConstructor;
readonly disabled: BooleanConstructor;
readonly internalIndex: {
readonly type: NumberConstructor;
readonly default: 0;
};
}, {
stepsSlots: Readonly<{
[name: string]: import("vue").Slot<any> | undefined;
}>;
mergedClsPrefix: import("vue").Ref<string>;
vertical: import("vue").ComputedRef<boolean>;
mergedStatus: import("vue").ComputedRef<"error" | "wait" | "finish" | "process">;
handleStepClick: import("vue").ComputedRef<(() => void) | undefined>;
cssVars: import("vue").ComputedRef<{
'--n-bezier': string;
'--n-description-text-color': string;
'--n-header-text-color': string;
'--n-indicator-border-color': string;
'--n-indicator-color': string;
'--n-indicator-icon-size': string;
'--n-indicator-index-font-size': string;
'--n-indicator-size': string;
'--n-indicator-text-color': string;
'--n-splitor-color': string;
'--n-step-header-font-size': string;
'--n-step-header-font-weight': string;
}> | undefined;
themeClass: import("vue").Ref<string> | undefined;
onRender: (() => void) | undefined;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
readonly status: PropType<"process" | "finish" | "error" | "wait">;
readonly title: StringConstructor;
readonly description: StringConstructor;
readonly disabled: BooleanConstructor;
readonly internalIndex: {
readonly type: NumberConstructor;
readonly default: 0;
};
}>>, {
readonly disabled: boolean;
readonly internalIndex: number;
}, {}>;
export default _default;