/** @jsxRuntime classic */ /** @jsx jsx */ import React, { Fragment } from 'react'; import { css, jsx, useTheme } from '@emotion/react'; import { Link } from 'react-router-dom'; import { getIcon } from '../../icons'; import { IColors } from '../../types/theme'; interface Step { label: string; to: string; action?: () => void; } const container = (colors: IColors) => css` display: flex; a { font-family: Montserrat; font-style: normal; font-weight: normal; font-size: 10px; line-height: 12px; color: ${colors.tx_text_secondary}; text-decoration: none; text-transform: capitalize; &:hover { color: ${colors.tx_text_primary}; } } svg { margin: 0 8px; width: 12px; height: 12px; color: ${colors.tx_text_secondary}; } `; export interface Props { steps: Step[]; } export const Breadcrumbs = ({ steps }: Props) => { const colors = useTheme(); return (