react-flex-images
Version:
A lightweight react wrapper for creating fluid galleries as seen on Flickr and Google Images.
26 lines • 858 B
TypeScript
import React from "react";
import { FlexImagesHorizontalContainerProps } from "./FlexImagesHorizontalContainer";
import { FlexImagesVerticalContainerProps } from "./FlexImagesVerticalContainer";
declare type FlexImagesPublicProps = {
/**
* items
*/
children?: React.ReactNode;
/**
* Orientation of layout.
* @default horizontal
*/
orientation?: "horizontal" | "vertical";
};
declare type FlexImagesProps = FlexImagesPublicProps & FlexImagesHorizontalContainerProps & FlexImagesVerticalContainerProps;
/**
* react-flex-images container.
*
* Examle:
* <FlexImagesContainer>
* <FlexImagesItem imgUrl={...} imgWidth={...} imgHeight={...} />
* </FlexImagesContainer>
*/
export default function FlexImagesContainer(props: FlexImagesProps): JSX.Element;
export {};
//# sourceMappingURL=container.d.ts.map