/** ChipGroup.tsx component */ import React from "react"; import { ChipProps } from "../Chip/Chip"; import { TextVariants } from "../types"; /** ChipGroup props */ export interface ChipGroupProps extends Omit, "onChange"> { /** Reachable for keyboard navigation */ tabIndex?: number; /** Element group title (H2, H3, etc) */ titleElement?: string; /** Show a group title by default or false to hide it */ titleVisible?: boolean; /** Group chip Title */ title?: string; /** Chip array of items */ items: ChipProps[]; /** Set ChipGroup to multiple or singular selection */ multipleSelection?: boolean; /** Variant for group title (title1, title2, title3, etc) */ titleVariant?: TextVariants; /** Callback function for when chips are selected/unselected */ onChange?: (results: ChipProps[]) => void; } declare const ChipGroup: React.VFC; export default ChipGroup;