update icon
This commit is contained in:
@@ -47,7 +47,7 @@ export default function TabLayout() {
|
|||||||
<Tabs.Screen
|
<Tabs.Screen
|
||||||
name="setting"
|
name="setting"
|
||||||
options={{
|
options={{
|
||||||
title: "Setting",
|
title: "Cài đặt",
|
||||||
tabBarIcon: ({ color }) => (
|
tabBarIcon: ({ color }) => (
|
||||||
<IconSymbol size={28} name="gear" color={color} />
|
<IconSymbol size={28} name="gear" color={color} />
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ type IconSymbolName = keyof typeof MAPPING;
|
|||||||
* - see SF Symbols in the [SF Symbols](https://developer.apple.com/sf-symbols/) app.
|
* - see SF Symbols in the [SF Symbols](https://developer.apple.com/sf-symbols/) app.
|
||||||
*/
|
*/
|
||||||
const MAPPING = {
|
const MAPPING = {
|
||||||
"house.fill": "home",
|
gear: "settings",
|
||||||
"paperplane.fill": "send",
|
"paperplane.fill": "send",
|
||||||
"chevron.left.forwardslash.chevron.right": "code",
|
"chevron.left.forwardslash.chevron.right": "code",
|
||||||
"chevron.right": "chevron-right",
|
"chevron.right": "chevron-right",
|
||||||
|
|||||||
Reference in New Issue
Block a user