v0.0.4
This commit is contained in:
15
src/components/navigation/BottomTabBar/tabConfig.ts
Normal file
15
src/components/navigation/BottomTabBar/tabConfig.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
export type MainTabKey = 'plaza' | 'nearby' | 'messages' | 'profile'
|
||||
|
||||
export interface TabConfig {
|
||||
key: MainTabKey
|
||||
label: string
|
||||
path: string
|
||||
dot?: boolean
|
||||
}
|
||||
|
||||
export const tabs: TabConfig[] = [
|
||||
{ key: 'plaza', label: '广场', path: '/pages/plaza/index' },
|
||||
{ key: 'nearby', label: '附近', path: '/pages/nearby/index' },
|
||||
{ key: 'messages', label: '消息', path: '/pages/messages/index', dot: true },
|
||||
{ key: 'profile', label: '我的', path: '/pages/profile/index' }
|
||||
]
|
||||
Reference in New Issue
Block a user