Skip to content

Commit

Permalink
import framer motion from wordpress/components
Browse files Browse the repository at this point in the history
  • Loading branch information
gwwar committed Aug 5, 2021
1 parent 016a276 commit 09bd076
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
5 changes: 4 additions & 1 deletion packages/components/src/tree-grid/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
* External dependencies
*/
import { includes } from 'lodash';
import { motion, AnimateSharedLayout } from 'framer-motion';

/**
* WordPress dependencies
Expand All @@ -15,6 +14,10 @@ import { UP, DOWN, LEFT, RIGHT } from '@wordpress/keycodes';
* Internal dependencies
*/
import RovingTabIndexContainer from './roving-tab-index';
import {
__unstableMotion as motion,
__unstableAnimateSharedLayout as AnimateSharedLayout,
} from '../animation';

/**
* Return focusables in a row element, excluding those from other branches
Expand Down
8 changes: 4 additions & 4 deletions packages/components/src/tree-grid/row.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/**
* External dependencies
* WordPress dependencies
*/
import { motion } from 'framer-motion';
import { forwardRef } from '@wordpress/element';

/**
* WordPress dependencies
* Internal dependencies
*/
import { forwardRef } from '@wordpress/element';
import { __unstableMotion as motion } from '../animation';

const TREE_GRID_ROW_VARIANTS = {
init: {
Expand Down

0 comments on commit 09bd076

Please sign in to comment.