Files
discord-decomp/modules/in_app_notifications/native/InAppNotificationExpandExperiment.tsx
T
2026-11-01 12:12:55 +02:00

26 lines
532 B
TypeScript

// Metro module 10277 (f10278).
import { createApexExperiment } from "../../experiments/apex/index";
const apexExperiment = createApexExperiment({
name: "2026-05-in-app-notification-expand",
kind: "user",
defaultConfig: {
canExpand: false,
canReact: false
},
variations: {
1: {
canExpand: true,
canReact: true
},
2: {
canExpand: true,
canReact: false
}
}
});
export function useCanExpandInAppNotification(a0) {
return apexExperiment.useConfig({
location: a0
});
}