diff --git a/src/components/TopBar.jsx b/src/components/TopBar.tsx similarity index 61% rename from src/components/TopBar.jsx rename to src/components/TopBar.tsx index 4dbacc1c..203793c2 100644 --- a/src/components/TopBar.jsx +++ b/src/components/TopBar.tsx @@ -12,41 +12,43 @@ import User from '/top-bar-icons/user.png' import FullScreen from '/top-bar-icons/full-screen.png' import Bell from '/top-bar-icons/bell.png' -import './TopBar.css' -import { ReactButton } from './ReactButton' import { XStack } from 'tamagui' -import { Icon } from './Icon' -import { Tab } from './Tab' + +import './TopBar.css' +import Icon from './Icon' +import ReactButton from './ReactButton' +import Tab from './Tab' + +const bgIconBtn = { + border: 'none', + 'background-color': '#1d2738', + cursor: 'pointer', + padding: '8px', + 'border-radius': '5px', + display: 'flex', + 'align-items': 'center', +} const TopBar = () => { - const bgIconBtn = { - border: 'none', - 'background-color': '#1d2738', - cursor: 'pointer', - padding: '8px', - 'border-radius': '5px', - display: 'flex', - 'align-items': 'center', - } return (
- - - + + +
- - + + - + - - - + + +
- {Array.from({ length: 9 }).map((e, i) => ( + {Array.from({ length: 9 }).map((_, i) => ( ))}
@@ -66,20 +68,18 @@ const TopBar = () => { fontWeight: 'bold', }} > -

Jump to

+ Jump to