import React, { FC } from 'react'; import Typography from '@mui/material/Typography'; import { WhereWhatPair } from "maxun-core"; import styled from "styled-components"; interface PairDisplayDivProps { index: string; pair: WhereWhatPair; } export const PairDisplayDiv: FC = ({ index, pair }) => { return (
{`Index: ${index}`} {pair.id ? `, Id: ${pair.id}` : ''} {"Where:"}
{JSON.stringify(pair?.where, undefined, 2)}
{"What:"}
{JSON.stringify(pair?.what, undefined, 2)}
); } const DescriptionWrapper = styled.div` margin: 0; font-family: "Roboto","Helvetica","Arial",sans-serif; font-weight: 400; font-size: 1rem; line-height: 1.5; letter-spacing: 0.00938em; `;