UNPKG
@kcirtaptrick/framer-motion
Version:
latest (6.2.9)
6.2.10
6.2.9
A simple and powerful React animation library
github.com/framer/motion
framer/motion
@kcirtaptrick/framer-motion
/
types
/
animation
/
utils
/
is-animatable.d.ts
12 lines
(11 loc)
•
287 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
import
{
ResolvedValueTarget
}
from
"../../types"
;
/** * Check if a value is animatable. Examples: * * ✅: 100, "100px", "#fff" * ❌: "block", "url(2.jpg)" *
@param
value
* *
@internal
*/
export
declare
const
isAnimatable
:
(
key
:
string
,
value
:
ResolvedValueTarget
) =>
boolean
;