mirror of
https://github.com/pawelmalak/snippet-box.git
synced 2025-12-23 22:18:06 +01:00
Initial commit. Added some UI components
This commit is contained in:
14
client/src/components/UI/Badge.tsx
Normal file
14
client/src/components/UI/Badge.tsx
Normal file
@@ -0,0 +1,14 @@
|
||||
import { ReactJs } from '@icons-pack/react-simple-icons';
|
||||
|
||||
interface Props {}
|
||||
|
||||
export const Badge = (props: Props): JSX.Element => {
|
||||
const Icon = require('@icons-pack/react-simple-icons/lib/components/Youtube');
|
||||
|
||||
return (
|
||||
<span className='badge bg-primary'>
|
||||
<ReactJs color='#61dafb' size={24} />
|
||||
New
|
||||
</span>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user