Skip to content

Commit

Permalink
chore: Update AnimatedProps imports
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrieldonadel committed Sep 8, 2022
1 parent c300338 commit f45fb04
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Libraries/Animated/__tests__/Animated-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
* @emails oncall+react_native
*/

import AnimatedProps from '../nodes/AnimatedProps';
import TestRenderer from 'react-test-renderer';
import * as React from 'react';

Expand All @@ -21,6 +20,7 @@ jest.mock('../../BatchedBridge/NativeModules', () => ({
},
}));

let AnimatedProps = require('../nodes/AnimatedProps').default;
let Animated = require('../Animated').default;

describe('Animated tests', () => {
Expand Down
5 changes: 2 additions & 3 deletions Libraries/Animated/nodes/AnimatedProps.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,15 @@

'use strict';

import typeof AnimatedNodeType from './AnimatedNode';
import type {PlatformConfig} from '../AnimatedPlatformConfig';

import {findNodeHandle} from '../../ReactNative/RendererProxy';
import {AnimatedEvent} from '../AnimatedEvent';
import NativeAnimatedHelper from '../NativeAnimatedHelper';
import invariant from 'invariant';

const AnimatedNode: AnimatedNodeType = require('./AnimatedNode').default;
const AnimatedStyle = require('./AnimatedStyle').default;
import AnimatedNode from './AnimatedNode';
import AnimatedStyle from './AnimatedStyle';

export default class AnimatedProps extends AnimatedNode {
_props: Object;
Expand Down

0 comments on commit f45fb04

Please sign in to comment.