decord/source/__polyfill/01xxx/module_1556.js
github-actions f0f877e8ce chore: update source for alpha 347.1
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4824.js (118.4 MB)
2026-09-15 14:23:42 +00:00

21 lines
544 B
JavaScript

// Module ID: 1556
// Function ID: 1557
// Dependencies: [19, 1521]
// Exports: useTheme
// Module 1556
import _mod1521 from "module_1521" /* 1521 */;
import noop from "module_19" /* 19 */;
require = arg1;
export const useTheme = function useTheme() {
const context = noop.useContext(_mod1521.ThemeContext);
if (null == context) {
const _Error = Error;
const error = new Error("Couldn't find a theme. Is your component inside NavigationContainer or does it have a theme?");
throw error;
} else {
return context;
}
};