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
/
utils
/
flat-tree.d.ts
9 lines
(8 loc)
•
251 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
import { WithDepth }
from
"./compare-by-depth"
; export
declare
class
FlatTree
{
private
children;
private
isDirty;
add
(
child
: WithDepth):
void
;
remove
(
child
: WithDepth):
void
;
forEach
(
callback
: (
child
: WithDepth) =>
void
):
void
; }