// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`ImagePreview should match snapshot 1`] = `
<AnimatedComponent
  style={
    Array [
      Object {
        "backgroundColor": "#000",
        "flex": 1,
      },
      Object {
        "opacity": NaN,
      },
    ]
  }
>
  <AnimatedComponent
    style={
      Object {
        "backgroundColor": "#000",
        "flex": 1,
      }
    }
  >
    <Gallery
      errorComponent={[Function]}
      flatListProps={
        Object {
          "windowSize": 3,
        }
      }
      imageComponent={[Function]}
      images={
        Array [
          Object {
            "caption": "Caption 1",
            "data": "data",
            "source": "source",
          },
          Object {
            "caption": "Caption 2",
            "data": "data",
            "source": "source",
          },
        ]
      }
      initialPage={0}
      onPageSelected={[Function]}
      onSingleTapConfirmed={[Function]}
      onSwipedVertical={[Function]}
      pageMargin={2}
      removeClippedSubviews={true}
      scrollViewStyle={Object {}}
      style={
        Object {
          "flex": 1,
        }
      }
    />
    <AnimatedComponent
      style={
        Array [
          Object {
            "height": 48,
            "overflow": "hidden",
            "position": "absolute",
            "width": "100%",
          },
          Object {
            "opacity": 1,
            "top": 0,
          },
        ]
      }
    >
      <View
        style={
          Object {
            "backgroundColor": "rgba(0, 0, 0, 0.8)",
            "height": 48,
            "left": 0,
            "position": "absolute",
            "top": 0,
            "width": "100%",
          }
        }
      >
        <View
          style={
            Object {
              "alignItems": "center",
              "flexDirection": "row",
              "justifyContent": "space-around",
            }
          }
        >
          <TouchableOpacity
            activeOpacity={0.2}
            onPress={[Function]}
            style={
              Object {
                "alignItems": "center",
                "height": 44,
                "justifyContent": "center",
                "width": 48,
              }
            }
          >
            <Icon
              allowFontScaling={false}
              color="#fff"
              name="md-close"
              size={26}
            />
          </TouchableOpacity>
          <Text
            style={
              Object {
                "color": "white",
                "flex": 1,
                "fontSize": 15,
                "marginHorizontal": 10,
                "textAlign": "center",
              }
            }
          >
            1/2
          </Text>
          <TouchableOpacity
            activeOpacity={0.2}
            onPress={[Function]}
            style={
              Object {
                "alignItems": "center",
                "height": 44,
                "justifyContent": "center",
                "width": 48,
              }
            }
          >
            <Icon
              allowFontScaling={false}
              color="#fff"
              name="ios-download"
              size={26}
            />
          </TouchableOpacity>
        </View>
      </View>
    </AnimatedComponent>
    <AnimatedComponent
      style={
        Array [
          Object {
            "bottom": 0,
            "opacity": 1,
          },
          Object {
            "height": 64,
            "justifyContent": "center",
            "overflow": "hidden",
            "position": "absolute",
            "width": "100%",
          },
        ]
      }
    >
      <LinearGradient
        colors={
          Array [
            "transparent",
            "#000000",
          ]
        }
        end={
          Object {
            "x": 0,
            "y": 0.9,
          }
        }
        pointerEvents="none"
        start={
          Object {
            "x": 0,
            "y": 0,
          }
        }
        style={
          Object {
            "bottom": 0,
            "height": 64,
            "justifyContent": "flex-end",
            "left": 0,
            "paddingBottom": 5,
            "paddingHorizontal": 24,
            "position": "absolute",
            "right": 0,
          }
        }
      >
        <Text
          style={
            Object {
              "color": "white",
              "fontSize": 14,
              "marginBottom": 10,
            }
          }
        >
          Caption 1
        </Text>
      </LinearGradient>
    </AnimatedComponent>
  </AnimatedComponent>
  <Downloader
    deviceHeight={400}
    deviceWidth={300}
    file={
      Object {
        "caption": "Caption 1",
        "data": "data",
        "source": "source",
      }
    }
    force={false}
    onCancelPress={[Function]}
    onDownloadCancel={[Function]}
    onDownloadStart={[Function]}
    onDownloadSuccess={[Function]}
    prompt={false}
    saveToCameraRoll={true}
    show={false}
  />
</AnimatedComponent>
`;

exports[`ImagePreview should match snapshot, renderDownloadButton 1`] = `
<TouchableOpacity
  activeOpacity={0.2}
  onPress={[Function]}
  style={
    Object {
      "alignItems": "center",
      "height": 44,
      "justifyContent": "center",
      "width": 48,
    }
  }
>
  <Icon
    allowFontScaling={false}
    color="#fff"
    name="ios-download"
    size={26}
  />
</TouchableOpacity>
`;
