import React from "react"; import { Link } from "@arc-ui/components/Link"; import { Icon } from "@arc-ui/components/Icon"; import { Heading } from "@arc-ui/components/Heading"; import { BtIconArrowAltRight } from "@arc-ui/icons/BtIconArrowAltRight"; import { filterAttrs } from "@arc-ui/community-utils/filter-attrs"; import styles from "./InlineLinkGroup.module.css"; export const InlineLinkGroup: React.FC = ({ label, headingLevel = "2", links, ...props }) => { return (
{label && (
{label}
)}
); }; export interface InlineLinkGroupProps { /** Optional overline label displayed above the link group */ label?: string; /** Heading level for the label, defaults to "2" for proper heading hierarchy */ headingLevel?: "1" | "2" | "3" | "4" | "5" | "6"; /** Array of link items to display */ links: InlineLinkGroupItem[]; } export interface InlineLinkGroupItem { /** Display text for the link */ label: string; /** URL the link navigates to */ href: string; /** Optional click handler for the link */ onClick?: () => void; /** Optional accessible label for screen readers */ ariaLabel?: string; }