"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.SUPPORTS_NATIVE_DRIVER = void 0;
var _reactNative = require("react-native");
/**
 * Whether the running React Native target supports `Animated`'s native
 * driver. On real native (`Platform.OS === 'ios' | 'android'`) it does,
 * and animations can run on the UI thread off the JS thread. On
 * `react-native-web` there is no native driver — opting in logs a
 * runtime warning every time, with no performance benefit.
 *
 * Use this constant instead of hardcoding `useNativeDriver: true` so
 * Bloom components animate smoothly on every platform and stay silent in
 * web consoles.
 *
 * Resolved once at module load.
 */

const SUPPORTS_NATIVE_DRIVER = exports.SUPPORTS_NATIVE_DRIVER = _reactNative.Platform.OS !== 'web';
//# sourceMappingURL=native-driver.js.map