2026-09-11 19:12:58 +00:00
|
|
|
// Module ID: 5737
|
|
|
|
|
// Function ID: 5738
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: RedesignCompat
|
2026-07-29 08:29:29 +00:00
|
|
|
// Dependencies: [19, 21, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: RedesignCompat
|
|
|
|
|
|
2026-09-11 19:12:58 +00:00
|
|
|
// Module 5737 (RedesignCompat)
|
2026-09-10 05:38:07 +00:00
|
|
|
import noop from "module_19" /* 19 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const jsx = fn(21).jsx;
|
|
|
|
|
const context = noop.createContext(false);
|
|
|
|
|
const size = fn(2);
|
|
|
|
|
const result = size.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
|
|
|
};
|