Skip to content

Add on the README.md the API property useNativeAnimation #101

Description

@proplayapp

I found a compatibility issue with the Animated library and had to implicitly set the useNativeAnimation to true.
This is not mentioned on the main page, but it's already implemented in the code.

Toast.propTypes = {
style: ViewPropTypes.style,
position: PropTypes.oneOf([
'top',
'center',
'bottom',
]),
textStyle: Text.propTypes.style,
positionValue:PropTypes.number,
fadeInDuration:PropTypes.number,
fadeOutDuration:PropTypes.number,
opacity:PropTypes.number,
useNativeAnimation:PropTypes.bool
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions