import React, { FC } from 'react' export interface Step { title: string text: string } /** * Numbered steps that tell the merchant how to get started with a tip. */ const Steps: FC<{ heading: string; steps: Array }> = ({ heading, steps, }) => (

{heading}

    {steps.map((step, index) => (
  1. {step.title} {step.text}
  2. ))}
) export default Steps