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

11 lines
216 B
TypeScript
Raw Normal View History

2019-09-21 12:54:57 +02:00
import * as React from 'react';
interface Props {
name: string;
}
2019-09-21 12:54:57 +02:00
const PostBoardLabel = ({ name }: Props) => (
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;