2026-10-01 06:55:13 +00:00
|
|
|
// Module ID: 15175
|
|
|
|
|
// Function ID: 15176
|
2026-09-30 07:29:52 +00:00
|
|
|
// Name: DesignSystemsNotificationComponentsExperiment
|
|
|
|
|
// Dependencies: [1435, 2]
|
2026-10-01 06:55:13 +00:00
|
|
|
// Exports: getDesignSystemsNotificationComponents, useDesignSystemsNotificationComponents
|
2026-09-30 07:29:52 +00:00
|
|
|
|
2026-10-01 06:55:13 +00:00
|
|
|
// Module 15175 (DesignSystemsNotificationComponentsExperiment)
|
2026-09-30 07:29:52 +00:00
|
|
|
import ApexExperiment from "ApexExperiment" /* 1435 */;
|
|
|
|
|
import size from "module_2" /* 2 */;
|
|
|
|
|
|
|
|
|
|
const obj = { name: "2026-09-design-systems-notification-components", kind: "user", defaultConfig: { enabled: false }, variations: null };
|
|
|
|
|
const obj2 = { 1: null };
|
|
|
|
|
obj2[1] = { enabled: true };
|
|
|
|
|
obj.variations = obj2;
|
|
|
|
|
const apexExperiment = ApexExperiment.createApexExperiment(obj);
|
|
|
|
|
const result = size.fileFinishedImporting("modules/design/DesignSystemsNotificationComponentsExperiment.tsx");
|
|
|
|
|
|
|
|
|
|
export default apexExperiment;
|
|
|
|
|
export const useDesignSystemsNotificationComponents = function useDesignSystemsNotificationComponents(ToastDurationSettingNative) {
|
|
|
|
|
return apexExperiment.useConfig({ location: ToastDurationSettingNative }).enabled;
|
|
|
|
|
};
|
2026-10-01 06:55:13 +00:00
|
|
|
export const getDesignSystemsNotificationComponents = function getDesignSystemsNotificationComponents(location) {
|
|
|
|
|
return apexExperiment.getConfig({ location }).enabled;
|
|
|
|
|
};
|