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
/
render
/
svg
/
use-props.d.ts
8 lines
(7 loc)
•
242 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
{
MotionProps
}
from
"../../motion/types"
;
import
{
ResolvedValues
}
from
"../types"
;
export
declare
function
useSVGProps
(
props
:
MotionProps
,
visualState
:
ResolvedValues
): {
style
: { [
x
:
string
]:
string
|
number
; }; };