-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
enhancementhacktoberfestlow priorityWill fix as neededWill fix as neededproduction runWill fix in next production projectWill fix in next production project
Description
testID is used to locate a view in end to end tests.
StaticAnimator and EventAnimator should accept testID as a prop.
A better approach would be to accept any View props and pass them along to the Animated.View. We could potentially do this by accessing the props we use a spread:
render() {
const { type, initialValue, finalValue, style, children, ...props } = this.props;
// ...render calcs
return (
<Animated.View {...props} style={[style, animatedStyles]}>
{children}
</Animated.View>
);
}
}
Please also update the components' prop-types.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementhacktoberfestlow priorityWill fix as neededWill fix as neededproduction runWill fix in next production projectWill fix in next production project