@uimkit/uikit-react
Version:
<img style="width:64px" src="https://mgmt.uimkit.chat/media/img/avatar.png"/>
22 lines (19 loc) • 740 B
TypeScript
import React__default from 'react';
import { Profile, Group } from '../../types/models.js';
import { UIGroupPreviewComponentProps } from '../UIGroupPreview/UIGroupPreview.js';
type UIGroupListProps = {
Preview?: React__default.ComponentType<UIGroupPreviewComponentProps>;
defaultItemHeight?: number;
activeProfile?: Profile;
activeGroup?: Group;
setActiveGroup?: (group?: Group) => void;
};
type UIGroupListWithContextProps = UIGroupListProps & {
hasMore: boolean;
loading: boolean;
loadMore: () => void;
groups: Group[];
};
declare const UIGroupList: React__default.FC<UIGroupListProps>;
export { UIGroupList, UIGroupListProps, UIGroupListWithContextProps };
//# sourceMappingURL=UIGroupList.d.ts.map