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

💄Export AnimateProps & AnimateStyle #429

Merged
merged 1 commit into from
Oct 24, 2019

Commits on Oct 21, 2019

  1. 💄Export AnimateProps & AnimateStyle

    Exporting these types can be useful for component definition.
    For instance:
    
    ```ts
    interface FlexibleCardProps extends CardProps {
      style?: Animated.AnimateStyle<ImageStyle>;
    }
    
    export const FlexibleCard = ({ card, style }: FlexibleCardProps) => (
      <Animated.Image
        style={[styles.flexibleContainer, style]}
        source={card.source}
      />
    );
    ```
    ```
    wcandillon committed Oct 21, 2019
    Configuration menu
    Copy the full SHA
    5210a64 View commit details
    Browse the repository at this point in the history