20 lines
404 B
C
20 lines
404 B
C
|
#pragma once
|
||
|
#include <string>
|
||
|
|
||
|
namespace reanimated {
|
||
|
|
||
|
class FeaturesConfig {
|
||
|
public:
|
||
|
static inline bool isLayoutAnimationEnabled() {
|
||
|
return _isLayoutAnimationEnabled;
|
||
|
}
|
||
|
static inline void setLayoutAnimationEnabled(bool isLayoutAnimationEnabled) {
|
||
|
_isLayoutAnimationEnabled = isLayoutAnimationEnabled;
|
||
|
}
|
||
|
|
||
|
private:
|
||
|
static bool _isLayoutAnimationEnabled;
|
||
|
};
|
||
|
|
||
|
} // namespace reanimated
|