communication-react-19
Version:
React library for building modern communication user experiences utilizing Azure Communication Services (React 19 compatible fork)
18 lines • 802 B
TypeScript
import { IStyle } from '@fluentui/react';
import React from 'react';
import { HorizontalGalleryStyles } from './HorizontalGallery';
/**
* Wrapped HorizontalGallery that adjusts the number of items per page based on the
* available width obtained from a ResizeObserver, width per child, gap width, and button width
*/
export declare const ResponsiveHorizontalGallery: (props: {
children: React.ReactNode;
containerStyles: IStyle;
horizontalGalleryStyles: HorizontalGalleryStyles;
gapWidthRem: number;
buttonWidthRem?: number;
onFetchTilesToRender?: (indexes: number[]) => void;
/** event to listen for children per page changes */
onChildrenPerPageChange?: (childrenPerPage: number) => void;
}) => JSX.Element;
//# sourceMappingURL=ResponsiveHorizontalGallery.d.ts.map