react-native-gallery-preview
Version:
<div> <img align="right" height="720" src="example.gif"> </div>
17 lines (16 loc) • 580 B
JavaScript
;
import React from "react";
import { GalleryPreviewForChildren } from "./components/GalleryPreviewForChildren/GalleryPreviewForChildren";
import { GalleryPreviewForImage } from "./components/GalleryPreviewForImage/GalleryPreviewForImage";
import { jsx as _jsx } from "react/jsx-runtime";
export const GalleryPreview = props => {
if (props.type === "children") {
return /*#__PURE__*/_jsx(GalleryPreviewForChildren, {
...props
});
}
return /*#__PURE__*/_jsx(GalleryPreviewForImage, {
...props
});
};
//# sourceMappingURL=GalleryPreview.js.map