You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
437 B
21 lines
437 B
import React, { ReactNode } from 'react';
|
|
import styles from './ParseResultItem.css';
|
|
|
|
interface ParseResultItemProps {
|
|
title: string;
|
|
data: string | number | ReactNode;
|
|
}
|
|
|
|
function ParseResultItem(props: ParseResultItemProps) {
|
|
const { title, data } = props;
|
|
|
|
return (
|
|
<div className={styles.item}>
|
|
<div className={styles.title}>{title}</div>
|
|
<div>{data}</div>
|
|
</div>
|
|
);
|
|
}
|
|
|
|
export default ParseResultItem;
|