diff options
| author | Ariel Costas Guerrero <ariel@costas.dev> | 2025-05-26 10:48:43 +0200 |
|---|---|---|
| committer | Ariel Costas Guerrero <ariel@costas.dev> | 2025-05-26 10:48:43 +0200 |
| commit | 5ced7f916d94e86e9a7ec164bee56f9a8e3a2a3a (patch) | |
| tree | b1ef5afa17b4a2f9fb2cbd683afc2fb6d905b5e1 /src/components/LineIcon.tsx | |
| parent | 4637373b50636e78dc2c7b6f99be879edb4ff7dc (diff) | |
Replace Azure SWA with custom server
Diffstat (limited to 'src/components/LineIcon.tsx')
| -rw-r--r-- | src/components/LineIcon.tsx | 17 |
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 |
