24 lines
615 B
C++
24 lines
615 B
C++
#pragma once
|
|
|
|
#include <jsi/jsi.h>
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
namespace reanimated::css {
|
|
|
|
using namespace facebook;
|
|
|
|
using PropertyNames = std::vector<std::string>;
|
|
using PropertyPath = std::vector<std::string>;
|
|
/**
|
|
* If nullopt - all style properties can trigger transition
|
|
* If empty vector - no style property can trigger transition
|
|
* Otherwise - only specified style properties can trigger transition
|
|
*/
|
|
using TransitionProperties = std::optional<PropertyNames>;
|
|
|
|
using EasingFunction = std::function<double(double)>;
|
|
using ColorChannels = std::array<uint8_t, 4>;
|
|
|
|
} // namespace reanimated::css
|