import React , { forwardRef } from 'react' ; import Stepper , { StepperBaseProps } from '../Stepper' ; export type Props = StepperBaseProps ; export const StepperVertical = forwardRef ( function StepperVertical ( props , ref ) { return < Stepper ref = { ref } { ... props } direction = 'vertical' / > ; } ) ; StepperVertical . defaultProps = { active : 0 , steps : [ ] } ; StepperVertical . displayName = 'StepperVertical' ; export default StepperVertical ;