/
githubmirror
/
react-native
Обзор
Документация
Войти
/
githubmirror
/
react-native
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
packages/assets-registry/registry.js
23 строки
552 B
Alex Hunt
Move AssetRegistry implementation into main package, expose as public API (#57369)
06 июл 2026, 20:32
06 июл 2026, 20:32
6cfde8f
Код
Авторство
О чём код?
/** * 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 */ 'use strict'; import {AssetRegistry} from 'react-native'; /*:: export type {AssetDestPathResolver, PackagerAsset} from 'react-native'; */ // eslint-disable-next-line @react-native/monorepo/no-commonjs-exports module.exports = { registerAsset: AssetRegistry.registerAsset, getAssetByID: AssetRegistry.getAssetByID, };