useAnimatedColor
useAnimatedColor(
target,opts?):string
Defined in: react/use-animation.ts:76
Like useAnimatedValue but tweens a CSS colour, returning an
rgb(...) string. Backed by the core ColorTween. Endpoints may be
hex, rgb(), or a basic colour name.
Parameters
Section titled “Parameters”target
Section titled “target”string
TweenOptions = {}
Returns
Section titled “Returns”string