Files
astuto/app/javascript/components/shared/PostBoardLabel.tsx

9 lines
227 B
TypeScript
Raw Normal View History

2019-09-21 12:54:57 +02:00
import * as React from 'react';
import IBoard from '../../interfaces/IBoard';
const PostBoardLabel = ({ name }: IBoard) => (
2022-04-07 18:58:18 +02:00
<span className="badge badgeLight">{name?.toUpperCase()}</span>
2019-09-21 12:54:57 +02:00
);
export default PostBoardLabel;