mirror of
https://github.com/astuto/astuto.git
synced 2025-12-16 11:47:56 +01:00
17 lines
365 B
TypeScript
17 lines
365 B
TypeScript
import * as React from 'react';
|
|
|
|
interface Props {
|
|
title: string;
|
|
boardName: string;
|
|
}
|
|
|
|
const PostListItem = ({title, boardName}: Props) => (
|
|
<a href="#" className="postLink">
|
|
<div className="postListItem">
|
|
<div className="postTitle">{title}</div>
|
|
<div className="postBoard">{boardName}</div>
|
|
</div>
|
|
</a>
|
|
);
|
|
|
|
export default PostListItem; |