aboutsummaryrefslogtreecommitdiff
path: root/src/components/LineIcon.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/LineIcon.tsx')
-rw-r--r--src/components/LineIcon.tsx17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/components/LineIcon.tsx b/src/components/LineIcon.tsx
deleted file mode 100644
index 50fd1ec..0000000
--- a/src/components/LineIcon.tsx
+++ /dev/null
@@ -1,17 +0,0 @@
-import React from 'react';
-import './LineIcon.css';
-
-interface LineIconProps {
- line: string;
-}
-
-const LineIcon: React.FC<LineIconProps> = ({ line }) => {
- const formattedLine = /^[a-zA-Z]/.test(line) ? line : `L${line}`;
- return (
- <span className={`line-icon line-${formattedLine.toLowerCase()}`}>
- {formattedLine}
- </span>
- );
-};
-
-export default LineIcon; \ No newline at end of file