liber-salti
Version:
Saltí - Liber Design System
24 lines (23 loc) • 595 B
TypeScript
import { ReactNode } from 'react';
export interface StepProps {
/**
* Should be Step sub-components such as StepLabel, StepContent.
*/
children?: string | ReactNode;
/**
* The position of the step. The prop defaults to the value inherited from the parent Stepper component.
*/
index: number;
/**
* Text used in StepTitle
*/
title: string;
/**
* Optional text under StepTitle
*/
subtitle?: string;
/**
* The Step variant
*/
variant?: 'inactive' | 'active' | 'completed' | 'error';
}