UNPKG

@splitsoftware/splitio-react

Version:

A React library to easily integrate and use Split JS SDK

14 lines (13 loc) 632 B
// The string below is a marker and will be replaced by the real version number. DO NOT CHANGE export var VERSION = 'react-' + '2.6.2'; // Treatments export var ON = 'on'; export var OFF = 'off'; export var CONTROL = 'control'; // SplitIO default value export var CONTROL_WITH_CONFIG = { treatment: 'control', config: null, }; // Warning and error messages export var WARN_SF_CONFIG_AND_FACTORY = 'Both a config and factory props were provided to SplitFactoryProvider. Config prop will be ignored.'; export var EXCEPTION_NO_SFP = 'No SplitContext was set. Please ensure the component is wrapped in a SplitFactoryProvider.';