added types
This commit is contained in:
parent
10a58011d4
commit
ead1a2f73b
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ type PlusMenuItemProps = {
|
|||
const PlusMenuItem = ({pickerAction, onPress}: PlusMenuItemProps) => {
|
||||
const intl = useIntl();
|
||||
|
||||
const menuItems = {
|
||||
const menuItems: {[key: string]: Omit<React.ComponentProps<typeof SlideUpPanelItem>, 'onPress'>} = {
|
||||
browseChannels: {
|
||||
leftIcon: 'globe',
|
||||
text: intl.formatMessage({id: 'plus_menu.browse_channels.title', defaultMessage: 'Browse Channels'}),
|
||||
|
|
|
|||
Loading…
Reference in a new issue