/** * Copyright IBM Corp. 2016, 2026 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import PropTypes from 'prop-types'; import { type HTMLAttributes, type ReactNode } from 'react'; type ExcludedAttributes = 'onChange'; export interface TileGroupProps extends Omit, ExcludedAttributes> { /** * Provide a collection of components to render in the group */ children?: ReactNode; /** * Provide an optional className to be applied to the container node */ className?: string; /** * Specify the the value of to be selected by default */ defaultSelected?: T; /** * Specify whether the group is disabled */ disabled?: boolean; /** * Provide an optional legend for this group */ legend?: string; /** * Specify the name of the underlying `` nodes */ name: string; /** * Provide an optional `onChange` hook that is called whenever the value of the group changes */ onChange?: (selection: T, name: string, evt: unknown) => void; /** * Specify the value that is currently selected in the group */ valueSelected?: T; /** * `true` to specify if input selection in group is required. */ required?: boolean; } export declare const TileGroup: { ({ children, className, defaultSelected, disabled, legend, name, onChange, valueSelected, required, }: TileGroupProps): import("react/jsx-runtime").JSX.Element; displayName: string; propTypes: { /** * Provide a collection of components to render in the group */ children: PropTypes.Requireable; /** * Provide an optional className to be applied to the container node */ className: PropTypes.Requireable; /** * Specify the the value of to be selected by default */ defaultSelected: PropTypes.Requireable>; /** * Specify whether the group is disabled */ disabled: PropTypes.Requireable; /** * Provide an optional legend for this group */ legend: PropTypes.Requireable; /** * Specify the name of the underlying `` nodes */ name: PropTypes.Validator; /** * Provide an optional `onChange` hook that is called whenever the value of * the group changes */ onChange: PropTypes.Requireable<(...args: any[]) => any>; /** * `true` to specify if input selection in group is required. */ required: PropTypes.Requireable; /** * Specify the value that is currently selected in the group */ valueSelected: PropTypes.Requireable>; }; }; export {};