@veracity/vui
Version:
Veracity UI is a React component library crafted for use within Veracity applications and pages. Based on Styled Components and @xstyled.
33 lines (32 loc) • 1.17 kB
TypeScript
import { ThemingProps } from "../theme/types.js";
import "../theme/index.js";
import { ChildrenProp } from "../core/types.js";
import { SystemProps } from "../system/system.js";
import "../system/index.js";
import "../core/index.js";
import { IconProp } from "../icon/icon.types.js";
import "../icon/index.js";
import { StepperIndicatorVariant } from "./stepperIndicatorTypes.js";
import { ReactNode } from "react";
//#region src/stepper/stepperTypes.d.ts
type StepperSize = 'md' | 'sm';
type StepperOrientation = 'horizontal' | 'vertical';
type StepperProps = SystemProps & ThemingProps<'Stepper'> & ChildrenProp & {
/** Layout direction. Defaults to 'horizontal'. */
orientation?: StepperOrientation;
/** Size applied to all steps. Defaults to 'md'. */
size?: StepperSize;
className?: string;
};
type StepperStepProps = SystemProps & ChildrenProp & {
icon?: IconProp;
number?: number;
size?: StepperSize;
description?: ReactNode;
title?: ReactNode;
className?: string;
variant?: StepperIndicatorVariant;
};
//#endregion
export { StepperOrientation, StepperProps, StepperSize, StepperStepProps };
//# sourceMappingURL=stepperTypes.d.ts.map