mirror of
https://github.com/astuto/astuto.git
synced 2025-12-18 20:49:37 +01:00
19 lines
431 B
TypeScript
19 lines
431 B
TypeScript
|
|
import * as React from 'react';
|
||
|
|
|
||
|
|
import '../../stylesheets/components/Roadmap/PostListItem.scss';
|
||
|
|
|
||
|
|
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;
|