@octopusdeploy/design-system-components
Version:
The design systems component library.
15 lines (14 loc) • 600 B
TypeScript
import type { DesignSystemLinkHref } from "../../routing";
import { type TagProps } from "./Tag";
export interface TagGroupProps {
/** Array of tag props to render */
tags: TagProps[];
/** Limit the number of visible tags */
limit?: {
/** Maximum number of tags to display before showing '+X more' */
count: number;
/** Link for the '+X more' text. Should navigate to a page where all tags can be viewed. */
link: DesignSystemLinkHref;
};
}
export declare function TagGroup({ tags, limit }: TagGroupProps): import("react/jsx-runtime").JSX.Element;