2026-08-08 06:10:11 +00:00
|
|
|
// Module ID: 5373
|
|
|
|
|
// Function ID: 5374
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: context
|
2026-07-29 08:29:29 +00:00
|
|
|
// Dependencies: [19, 21, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: RedesignCompat
|
|
|
|
|
|
2026-08-08 06:10:11 +00:00
|
|
|
// Module 5373 (context)
|
2026-07-23 10:11:24 +00:00
|
|
|
import { jsx } from "jsxProd";
|
2026-07-29 08:29:29 +00:00
|
|
|
import importAllResult from "noop";
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-07-29 08:29:29 +00:00
|
|
|
const context = require("noop").createContext(false);
|
2026-07-23 10:11:24 +00:00
|
|
|
const result = require("set").fileFinishedImporting("design/components/RedesignCompat/native/RedesignCompat.native.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const RedesignCompatContext = context;
|
2026-07-29 08:29:29 +00:00
|
|
|
export const RedesignCompat = function RedesignCompat(children) {
|
|
|
|
|
let enabled = children.enabled;
|
|
|
|
|
if (enabled == null) {
|
|
|
|
|
enabled = true;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
return <context.Provider value={enabled}>{arg0.children}</context.Provider>;
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|