feat: explore (#85)
This commit is contained in:
13
src/components/BottomNavigationBar/ExploreButton.tsx
Normal file
13
src/components/BottomNavigationBar/ExploreButton.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import { usePrimaryPage } from '@/PageManager'
|
||||
import { Compass } from 'lucide-react'
|
||||
import BottomNavigationBarItem from './BottomNavigationBarItem'
|
||||
|
||||
export default function ExploreButton() {
|
||||
const { navigate, current } = usePrimaryPage()
|
||||
|
||||
return (
|
||||
<BottomNavigationBarItem active={current === 'explore'} onClick={() => navigate('explore')}>
|
||||
<Compass />
|
||||
</BottomNavigationBarItem>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user