import * as React from 'react'; import * as classnames from 'classnames'; const ProgressTabs = (props: { currentTab?: number, tabNames: string[], className?: string, style?: any, tabOnClick?: (step: number) => void; }) => { const { currentTab, tabNames, tabOnClick, className, style } = props; const tabElements = []; for (let i = 0; i < tabNames.length; i++) { const tabClass = classnames('tab', className, { active: i === currentTab, clickable: i !== currentTab, }); tabElements.push(