/
githubmr
/
facebook-react-native
Обзор
Документация
Войти
/
githubmr
/
facebook-react-native
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
latest
packages/react-native-popup-menu-android/js/PopupMenuAndroid.d.ts
24 строки
586 B
Tim Yung
RN: Migrate to `HostInstance` Type (#46742)
02 окт 2024, 08:51
02 окт 2024, 08:51
177697f
Код
Авторство
О чём код?
/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format */ import type * as React from 'react'; type PopupMenuAndroidInstance = { readonly show: () => void; }; type Props = { menuItems: Array<string>; onSelectionChange: (number) => void; onDismiss: () => void; children: React.ReactNode | undefined; instanceRef: React.RefObject<PopupMenuAndroidInstance>; }; declare class PopupMenuAndroid extends React.Component<Props> {}