mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Bump packages
This commit is contained in:
@@ -105,7 +105,7 @@ const TimelineHeaderDefault: React.FC = () => {
|
||||
case 'sub':
|
||||
return (
|
||||
// @ts-ignore
|
||||
<DropdownMenu.Sub key={item}>
|
||||
<DropdownMenu.Sub key={item.key}>
|
||||
<DropdownMenu.SubTrigger
|
||||
key={item.trigger.key}
|
||||
{...item.trigger.props}
|
||||
|
4
src/components/contextMenu/index.d.ts
vendored
4
src/components/contextMenu/index.d.ts
vendored
@@ -33,7 +33,7 @@ type ContextMenuItem = {
|
||||
hidden: boolean
|
||||
}
|
||||
title: string
|
||||
icon?: string
|
||||
icon?: any
|
||||
}
|
||||
|
||||
type ContextMenuSub = {
|
||||
@@ -47,7 +47,7 @@ type ContextMenuSub = {
|
||||
hidden: boolean
|
||||
}
|
||||
title: string
|
||||
icon?: string
|
||||
icon?: any
|
||||
}
|
||||
items: Omit<ContextMenuItem, 'type'>[]
|
||||
}
|
||||
|
@@ -152,7 +152,7 @@ const Root: React.FC<NativeStackScreenProps<TabLocalStackParamList, 'Tab-Local-R
|
||||
hidden: false
|
||||
},
|
||||
title: list.title,
|
||||
icon: 'list.bullet'
|
||||
icon: 'list.bullet' as any
|
||||
}))
|
||||
].map(menu => (
|
||||
<DropdownMenu.Item key={menu.key} {...menu.item}>
|
||||
|
@@ -7,7 +7,7 @@ export const menuListAccounts = ({ list }: { list: Mastodon.List }) => ({
|
||||
key: 'list-accounts',
|
||||
onSelect: () => navigationRef.navigate<any>('Tab-Me-List-Accounts', list),
|
||||
title: i18next.t('screenTabs:me.listAccounts.heading'),
|
||||
icon: 'person.crop.circle.fill.badge.checkmark'
|
||||
icon: 'person.crop.circle.fill.badge.checkmark' as any
|
||||
})
|
||||
|
||||
export const menuListEdit = ({ list, key }: { list: Mastodon.List; key: string }) => ({
|
||||
@@ -19,7 +19,7 @@ export const menuListEdit = ({ list, key }: { list: Mastodon.List; key: string }
|
||||
key
|
||||
}),
|
||||
title: i18next.t('screenTabs:me.listEdit.heading'),
|
||||
icon: 'square.and.pencil'
|
||||
icon: 'square.and.pencil' as any
|
||||
})
|
||||
|
||||
export const menuListDelete = ({
|
||||
@@ -44,5 +44,5 @@ export const menuListDelete = ({
|
||||
]
|
||||
),
|
||||
title: i18next.t('screenTabs:me.listDelete.heading'),
|
||||
icon: 'trash'
|
||||
icon: 'trash' as any
|
||||
})
|
||||
|
Reference in New Issue
Block a user