mirror of
https://github.com/astuto/astuto.git
synced 2025-12-16 03:37:56 +01:00
Refactor CSS (#116)
Refactor CSS files and structure. Also refactors some html and React components for a smarter use of CSS classes.
This commit is contained in:
committed by
GitHub
parent
35c427d9f6
commit
8e75a85873
11
app/javascript/components/common/PostBoardLabel.tsx
Normal file
11
app/javascript/components/common/PostBoardLabel.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
import * as React from 'react';
|
||||
|
||||
interface Props {
|
||||
name: string;
|
||||
}
|
||||
|
||||
const PostBoardLabel = ({ name }: Props) => (
|
||||
<span className="badge badgeLight">{name?.toUpperCase()}</span>
|
||||
);
|
||||
|
||||
export default PostBoardLabel;
|
||||
Reference in New Issue
Block a user