Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated docs fundamentals to include imports #1300

Merged
merged 1 commit into from
Oct 8, 2020

Conversation

Redseb
Copy link
Contributor

@Redseb Redseb commented Sep 30, 2020

Description

Updates docs to include imports in most examples under Fundamentals, and fixes an incorrect import under Fundamentals>Animations>Spring. The error is
import { withSpring, useAnimatedStyle, useSharedValue, Animated, } from 'react-native-reanimated';
when it should be
import Animated, { withSpring, useAnimatedStyle, useSharedValue, } from 'react-native-reanimated';

Copy link
Member

@kmagiera kmagiera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

@kmagiera kmagiera merged commit 15f087d into software-mansion:master Oct 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants