|
|
|
@ -1,10 +1,11 @@ |
|
|
|
|
// @flow
|
|
|
|
|
|
|
|
|
|
/* eslint-disable lines-around-comment */ |
|
|
|
|
import React from 'react'; |
|
|
|
|
|
|
|
|
|
import { IconEventNote, IconRestore, IconSettings } from '../base/icons'; |
|
|
|
|
import { IconEventNote, IconRestore, IconSettings } from '../base/icons/svg'; |
|
|
|
|
// @ts-ignore
|
|
|
|
|
import BaseTheme from '../base/ui/components/BaseTheme'; |
|
|
|
|
|
|
|
|
|
// @ts-ignore
|
|
|
|
|
import TabIcon from './components/TabIcon'; |
|
|
|
|
|
|
|
|
|
export const INACTIVE_TAB_COLOR = BaseTheme.palette.tab01Disabled; |
|
|
|
@ -21,7 +22,7 @@ export const tabBarOptions = { |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
export const recentListTabBarOptions = { |
|
|
|
|
tabBarIcon: ({ focused }) => ( |
|
|
|
|
tabBarIcon: ({ focused }: { focused: boolean; }) => ( |
|
|
|
|
<TabIcon |
|
|
|
|
focused = { focused } |
|
|
|
|
src = { IconRestore } /> |
|
|
|
@ -29,7 +30,7 @@ export const recentListTabBarOptions = { |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
export const calendarListTabBarOptions = { |
|
|
|
|
tabBarIcon: ({ focused }) => ( |
|
|
|
|
tabBarIcon: ({ focused }: { focused: boolean; }) => ( |
|
|
|
|
<TabIcon |
|
|
|
|
focused = { focused } |
|
|
|
|
src = { IconEventNote } /> |
|
|
|
@ -37,7 +38,7 @@ export const calendarListTabBarOptions = { |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
export const settingsTabBarOptions = { |
|
|
|
|
tabBarIcon: ({ focused }) => ( |
|
|
|
|
tabBarIcon: ({ focused }: { focused: boolean; }) => ( |
|
|
|
|
<TabIcon |
|
|
|
|
focused = { focused } |
|
|
|
|
src = { IconSettings } /> |