// @flow import React from 'react'; import classNames from 'classnames'; import { COLOR_GREEN } from 'components/ui'; import styles from './stepper.scss'; import type { Color } from 'components/ui'; export default function Stepper({ totalSteps, activeStep, color = COLOR_GREEN }: { totalSteps: number, activeStep: number, color?: Color, }) { return (
{(new Array(totalSteps)).fill(0).map((_, step) => (
))}
); }