mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 19:27:52 +01:00
16 lines
355 B
TypeScript
16 lines
355 B
TypeScript
import * as React from 'react';
|
|
|
|
import IPostStatus from '../../interfaces/IPostStatus';
|
|
|
|
const PostStatusLabel = ({
|
|
id,
|
|
name,
|
|
color,
|
|
}: IPostStatus) => (
|
|
<div style={{display: 'flex'}}>
|
|
<div className="dot" style={{backgroundColor: color}}></div>
|
|
<span className="postStatusName">{name}</span>
|
|
</div>
|
|
);
|
|
|
|
export default PostStatusLabel; |