/
githubmirror
/
react-native
Обзор
Документация
Войти
/
githubmirror
/
react-native
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
packages/rn-tester/js/examples/MutationObserver/MutationObserverIndex.js
27 строк
970 B
Rubén Norte
Create example for MutationObserver in RNTester (disabled by feature flag) (#56622)
27 апр 2026, 15:44
27 апр 2026, 15:44
b396df7
Код
Авторство
О чём код?
/** * 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. * * @flow strict-local * @format */ import type {RNTesterModuleExample} from '../../types/RNTesterTypes'; import * as MutationObserverExample from './MutationObserverExample'; import * as VisualCompletionExample from './VisualCompletionExample/VisualCompletionExample'; export const framework = 'React'; export const title = 'MutationObserver'; export const category = 'UI'; export const documentationURL = 'https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver'; export const description = 'API to detect mutations in React Native nodes.'; export const showIndividualExamples = true; export const examples: Array<RNTesterModuleExample> = [MutationObserverExample]; if (typeof IntersectionObserver !== 'undefined') { examples.push(VisualCompletionExample); }