UNPKG

@yamada-ui/react

Version:

React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion

29 lines (28 loc) 863 B
import { HTMLProps, PropGetter } from "../../core/components/index.types.js"; import "../../core/index.js"; import * as react45 from "react"; //#region src/components/avatar/use-avatar-group.d.ts interface UseAvatarGroupProps extends HTMLProps { /** * The maximum number of visible avatars. */ max?: number; /** * Whether to reverse the order of the avatars. */ reverse?: boolean; } declare const useAvatarGroup: ({ children, max, reverse, ...rest }?: UseAvatarGroupProps) => { children: react45.ReactElement<any, string | react45.JSXElementConstructor<any>>[]; excess: number; getRootProps: PropGetter<"div", undefined, undefined>; }; type UseAvatarGroupReturn = ReturnType<typeof useAvatarGroup>; //#endregion export { UseAvatarGroupProps, UseAvatarGroupReturn, useAvatarGroup }; //# sourceMappingURL=use-avatar-group.d.ts.map